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>
Este commit está contenido en:
K. Y. Srinivasan
2012-03-16 08:02:27 -07:00
cometido por Greg Kroah-Hartman
padre db425334e5
commit adc80ae60e
Se han modificado 3 ficheros con 122 adiciones y 10 borrados

Ver fichero

@@ -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;
}