aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv/hv_kvp.c
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2012-03-16 11:02:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-16 16:36:04 -0400
commitadc80ae60eae24a43a357bf5b30fb496f34aa605 (patch)
treeb7d870f69c8deefe14da8e6cf38c8d1122bd4f1d /drivers/hv/hv_kvp.c
parentdb425334e5bb7fa65bbbd7bea9d79842f65bcf45 (diff)
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/hv_kvp.c')
-rw-r--r--drivers/hv/hv_kvp.c7
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)
289 289
290 290
291 /* 291 /*
292 * If the error parameter is set, terminate the host's enumeration. 292 * If the error parameter is set, terminate the host's enumeration
293 * on this pool.
293 */ 294 */
294 if (error) { 295 if (error) {
295 /* 296 /*
296 * Something failed or the we have timedout; 297 * Something failed or the we have timedout;
297 * terminate the host-side iteration by returning an error. 298 * terminate the current host-side iteration.
298 */ 299 */
299 icmsghdrp->status = HV_E_FAIL; 300 icmsghdrp->status = HV_S_CONT;
300 goto response_done; 301 goto response_done;
301 } 302 }
302 303