xen/balloon: Support xend-based toolstack
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Sun, 7 Oct 2018 20:05:38 +0000 (16:05 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Nov 2018 19:15:02 +0000 (11:15 -0800)
commitbdc96cef37441af23ce3c2661de5f1984be7ee0c
tree35142b1aa042ebf7b49511f90e0594a1ea7bd3a9
parent57cd3a09665ad99de90b9aa8fd31cec26039163e
xen/balloon: Support xend-based toolstack

commit 3aa6c19d2f38be9c6e9a8ad5fa8e3c9d29ee3c35 upstream.

Xend-based toolstacks don't have static-max entry in xenstore. The
equivalent node for those toolstacks is memory_static_max.

Fixes: 5266b8e4445c (xen: fix booting ballooned down hvm guest)
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: <stable@vger.kernel.org> # 4.13
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/xen/xen-balloon.c