[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [xenppc-unstable] [TOOLS] avoid shadow ops for POWERPC
# HG changeset patch # User Jimi Xenidis <jimix@xxxxxxxxxxxxxx> # Node ID a7abc95d4ce4177acd9cfbd58476d521352f9ff7 # Parent 6b9124f9d89d58eb81847813dc0043ba3896b919 [TOOLS] avoid shadow ops for POWERPC Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx> --- tools/python/xen/xend/XendDomainInfo.py | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff -r 6b9124f9d89d -r a7abc95d4ce4 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Sun Aug 20 13:02:16 2006 -0400 +++ b/tools/python/xen/xend/XendDomainInfo.py Sun Aug 20 13:06:37 2006 -0400 @@ -1293,9 +1293,12 @@ class XendDomainInfo: # Make sure there's enough RAM available for the domain balloon.free(m + sm * 1024) - # Set up the shadow memory - sm = xc.shadow_mem_control(self.domid, mb=sm) - self.info['shadow_memory'] = sm + if os.uname()[4] in ('ppc64'): + self.info['shadow_memory'] = 0 + else: + # Set up the shadow memory + sm = xc.shadow_mem_control(self.domid, mb=sm) + self.info['shadow_memory'] = sm init_reservation = self.info['memory'] * 1024 if os.uname()[4] in ('ia64', 'ppc64'): _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |