ia64/xen-unstable

changeset 10743:08906834ca74

[powerpc] [xend] PPC doesn't support ballooning yet
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Jul 14 10:23:04 2006 +0100 (2006-07-14)
parents 35a29c8f0bab
children d51a5ca0fa99
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Fri Jul 14 10:22:40 2006 +0100
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Fri Jul 14 10:23:04 2006 +0100
     1.3 @@ -1284,8 +1284,9 @@ class XendDomainInfo:
     1.4              balloon.free(m)
     1.5  
     1.6              init_reservation = self.info['memory'] * 1024
     1.7 -            if os.uname()[4] == 'ia64':
     1.8 -                # Workaround until ia64 properly supports ballooning.
     1.9 +            if os.uname()[4] in ('ia64', 'ppc64'):
    1.10 +                # Workaround for architectures that don't yet support
    1.11 +                # ballooning.
    1.12                  init_reservation = m
    1.13  
    1.14              xc.domain_memory_increase_reservation(self.domid, init_reservation,