]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
xen/balloon: fix balloon driver accounting for HVM-with-PoD case
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Feb 2010 14:12:36 +0000 (14:12 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Feb 2010 14:12:36 +0000 (14:12 +0000)
commite6d0b08274c7145e919b365da4b1e9f8fe000f4b
treefcb17f88e2dd21e35251cf3d127e544b8190c474
parent07e336d0808476acff9c7d409c364360c641bee2
xen/balloon: fix balloon driver accounting for HVM-with-PoD case

With PoD, ballooning down a guest to the target set through xenstore
based on its totalram_pages value isn't sufficient, since that value
doesn't include all the pages assigned to the guest. Since the delta
is static, determine it once at load time.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/balloon/balloon.c