This commit is contained in:
committed by
Git OBS Bridge
parent
f5d6338f4d
commit
8cefe055e5
@@ -1,13 +1,13 @@
|
||||
Index: xen-3.2.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
Index: xen-3.3.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
===================================================================
|
||||
--- xen-3.2.1-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
||||
+++ xen-3.2.1-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
@@ -1844,7 +1844,7 @@ class XendDomainInfo:
|
||||
xc.domain_setmaxmem(self.domid, maxmem)
|
||||
--- xen-3.3.0-testing.orig/tools/python/xen/xend/XendDomainInfo.py
|
||||
+++ xen-3.3.0-testing/tools/python/xen/xend/XendDomainInfo.py
|
||||
@@ -2251,7 +2251,7 @@ class XendDomainInfo:
|
||||
vtd_mem = ((vtd_mem + 1023) / 1024) * 1024
|
||||
|
||||
# Make sure there's enough RAM available for the domain
|
||||
- balloon.free(memory + shadow)
|
||||
+ balloon.free(memory + shadow + 512)
|
||||
- balloon.free(memory + shadow + vtd_mem)
|
||||
+ balloon.free(memory + shadow + vtd_mem + 512)
|
||||
|
||||
# Set up the shadow memory
|
||||
shadow_cur = xc.shadow_mem_control(self.domid, shadow / 1024)
|
||||
|
Reference in New Issue
Block a user