Tools: hv: Support enumeration from all the pools
[firefly-linux-kernel-4.4.55.git] / drivers / hv / hv_kvp.c
index cfe60b02e3e8ebfe8e59c75e1c84f4d224003faf..6186025209ce95362a42a8b6a65ad98ae99ea2c4 100644 (file)
@@ -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;
        }