diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-03-16 16:02:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-16 21:36:04 +0100 |
commit | adc80ae60eae24a43a357bf5b30fb496f34aa605 (patch) | |
tree | b7d870f69c8deefe14da8e6cf38c8d1122bd4f1d /drivers/hv | |
parent | Tools: hv: Fully support the new KVP verbs in the user level daemon (diff) | |
download | linux-adc80ae60eae24a43a357bf5b30fb496f34aa605.tar.xz linux-adc80ae60eae24a43a357bf5b30fb496f34aa605.zip |
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>
Diffstat (limited to 'drivers/hv')
-rw-r--r-- | drivers/hv/hv_kvp.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/hv/hv_kvp.c b/drivers/hv/hv_kvp.c index cfe60b02e3e8..6186025209ce 100644 --- a/drivers/hv/hv_kvp.c +++ b/drivers/hv/hv_kvp.c @@ -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; } |