ia64/xen-unstable

changeset 10780:f021b091c559

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>
author kfraser@localhost.localdomain
date Tue Jul 25 15:12:47 2006 +0100 (2006-07-25)
parents d48322cddd87
children 7dfc65c38035
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Tue Jul 25 15:06:39 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Jul 25 15:12:47 2006 +0100
     1.3 @@ -1288,6 +1288,9 @@ class XendDomainInfo:
     1.4                  # Workaround for architectures that don't yet support
     1.5                  # ballooning.
     1.6                  init_reservation = m
     1.7 +                # Following line from xiantao.zhang@intel.com
     1.8 +                # Needed for IA64 until supports ballooning -- okay for PPC64?
     1.9 +                xc.domain_setmaxmem(self.domid, m)
    1.10  
    1.11              xc.domain_memory_increase_reservation(self.domid, init_reservation,
    1.12                                                    0, 0)