2009-08-01 11:53:46 +02:00
|
|
|
Index: xen-3.4.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
2007-07-21 18:12:17 +02:00
|
|
|
===================================================================
|
2009-08-01 11:53:46 +02:00
|
|
|
--- xen-3.4.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
|
|
|
+++ xen-3.4.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
2009-06-12 20:43:24 +02:00
|
|
|
@@ -2560,7 +2560,7 @@ class XendDomainInfo:
|
2008-08-18 00:24:29 +02:00
|
|
|
vtd_mem = ((vtd_mem + 1023) / 1024) * 1024
|
2007-07-21 18:12:17 +02:00
|
|
|
|
|
|
|
# Make sure there's enough RAM available for the domain
|
2009-05-04 18:38:09 +02:00
|
|
|
- balloon.free(memory + shadow + vtd_mem, self)
|
|
|
|
+ balloon.free(memory + shadow + vtd_mem + 512, self)
|
2007-07-21 18:12:17 +02:00
|
|
|
|
|
|
|
# Set up the shadow memory
|
|
|
|
shadow_cur = xc.shadow_mem_control(self.domid, shadow / 1024)
|