mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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 <xiantao.zhang@intel.com>
This commit is contained in:
1 parent
a4517dd065
commit
19b294d7fc
1 file changed
+3
@@ -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)
|
||||
|
||||