Tools: hv: Support enumeration from all the pools
We have only supported enumeration only from the AUTO pool. Now support enumeration from all the available pools. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
db425334e5
commit
adc80ae60e
@@ -289,14 +289,15 @@ kvp_respond_to_host(char *key, char *value, int error)
|
||||
|
||||
|
||||
/*
|
||||
* If the error parameter is set, terminate the host's enumeration.
|
||||
* If the error parameter is set, terminate the host's enumeration
|
||||
* on this pool.
|
||||
*/
|
||||
if (error) {
|
||||
/*
|
||||
* Something failed or the we have timedout;
|
||||
* terminate the host-side iteration by returning an error.
|
||||
* terminate the current host-side iteration.
|
||||
*/
|
||||
icmsghdrp->status = HV_E_FAIL;
|
||||
icmsghdrp->status = HV_S_CONT;
|
||||
goto response_done;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user