2007-12-20 15:46:41 +00:00
|
|
|
Index: xen-3.2-testing/tools/python/xen/xend/XendDomainInfo.py
|
2007-07-21 16:12:17 +00:00
|
|
|
===================================================================
|
2007-12-20 15:46:41 +00:00
|
|
|
--- xen-3.2-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-3.2-testing/tools/python/xen/xend/XendDomainInfo.py
|
2008-02-02 00:58:27 +00:00
|
|
|
@@ -1772,7 +1772,7 @@ class XendDomainInfo:
|
2007-07-21 16:12:17 +00:00
|
|
|
xc.domain_setmaxmem(self.domid, maxmem)
|
|
|
|
|
|
|
|
# Make sure there's enough RAM available for the domain
|
|
|
|
- balloon.free(memory + shadow)
|
|
|
|
+ balloon.free(memory + shadow + 512)
|
|
|
|
|
|
|
|
# Set up the shadow memory
|
|
|
|
shadow_cur = xc.shadow_mem_control(self.domid, shadow / 1024)
|