Drivers: hv: Notify the host of permanent hot-add failures
authorK. Y. Srinivasan <kys@microsoft.com>
Mon, 18 Mar 2013 20:51:38 +0000 (13:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Mar 2013 16:03:21 +0000 (09:03 -0700)
commit7f4f2302a11173d0ef84bbab4b887b9b50c31dc6
treed5cd944948730df766a41bf54d96d8986866ba45
parentf766dc1ea576fcdfbf2bc5638757ddbdacfb5a69
Drivers: hv: Notify the host of permanent hot-add failures

If memory hot-add fails with the error -EEXIST, then this is a permanent
failure. Notify the host of this information, so the host will not attempt
hot-add again. If the failure were a transient failure, host will attempt
a hot-add after some delay.

In this version of the patch, I have added some additional comments
to clarify how the host treats different failure conditions.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/hv_balloon.c