xen/balloon: cancel ballooning if adding new memory failed
authorDavid Vrabel <david.vrabel@citrix.com>
Mon, 1 Sep 2014 17:52:44 +0000 (18:52 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 2 Sep 2014 14:37:19 +0000 (15:37 +0100)
commit3dcf63677d4eb7fdfc13290c8558c301d2588fe8
tree07a28fd8d2da37c61fe9ee1bcade6b5c35a72194
parent61a734d305e16944b42730ef582a7171dc733321
xen/balloon: cancel ballooning if adding new memory failed

If the balloon driver is adding additional memory regions to the
balloon and add_memory() fails it will likely continuously fail so
cancel the balloon operation.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
drivers/xen/balloon.c