From: kfraser@localhost.localdomain Date: Tue, 25 Jul 2006 14:12:47 +0000 (+0100) Subject: Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15786^2~16^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=19b294d7fcab2be94c6bef3c5af384eb415cb330;p=xen.git Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu. After balloon drive ready, we can remove this line safely. Signed-off-by:Zhang Xiantao --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 48d6b67d5e..0d97fe38ac 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1288,6 +1288,9 @@ class XendDomainInfo: # Workaround for architectures that don't yet support # ballooning. init_reservation = m + # Following line from xiantao.zhang@intel.com + # Needed for IA64 until supports ballooning -- okay for PPC64? + xc.domain_setmaxmem(self.domid, m) xc.domain_memory_increase_reservation(self.domid, init_reservation, 0, 0)