From 19b294d7fcab2be94c6bef3c5af384eb415cb330 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Tue, 25 Jul 2006 15:12:47 +0100 Subject: [PATCH] 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 --- tools/python/xen/xend/XendDomainInfo.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5