[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Fix memory allocation for IA64 guest on Xen-unstable.hg with new Qemu.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID f021b091c559f22245509ede9aa6fe244a251e11
# Parent  d48322cddd8780d8d39ad3b4d3fb4a9dfe464e86
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@xxxxxxxxx>
---
 tools/python/xen/xend/XendDomainInfo.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r d48322cddd87 -r f021b091c559 tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Tue Jul 25 15:06:39 2006 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py   Tue Jul 25 15:12:47 2006 +0100
@@ -1288,6 +1288,9 @@ class XendDomainInfo:
                 # Workaround for architectures that don't yet support
                 # ballooning.
                 init_reservation = m
+                # Following line from xiantao.zhang@xxxxxxxxx
+                # 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)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.