|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 4 of 8] [powerpc] [xend] PPC doesn't support ballooni
# HG changeset patch
# User Hollis Blanchard <hollisb@xxxxxxxxxx>
# Date 1152744165 18000
# Node ID 5a11149db4c2f30cd81689a5eefc370c7fc4c410
# Parent 49de99129bc4d762bc71b5559d0102c5691aa61e
[powerpc] [xend] PPC doesn't support ballooning yet
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
diff -r 49de99129bc4 -r 5a11149db4c2 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Jul 12 17:42:45 2006 -0500
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Jul 12 17:42:45 2006 -0500
@@ -1282,8 +1282,9 @@ class XendDomainInfo:
xc.domain_setmaxmem(self.domid, m)
init_reservation = self.info['memory'] * 1024
- if os.uname()[4] == 'ia64':
- # Workaround until ia64 properly supports ballooning.
+ if os.uname()[4] in ('ia64', 'ppc64'):
+ # Workaround for architectures that don't yet support
+ # ballooning.
init_reservation = m
xc.domain_memory_increase_reservation(self.domid, init_reservation,
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|