aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-02-10 09:07:48 +0000
committerKeir Fraser <keir.fraser@citrix.com>2010-02-10 09:07:48 +0000
commit541a47d53d16745d9dd652647175793a31e35e3b (patch)
treef255d04daac7462b51f06cf56979f15570f354c7 /tools
parent9a83712ebe0afe6f5f222253869312fced7e14a0 (diff)
downloadxen-541a47d53d16745d9dd652647175793a31e35e3b.tar.gz
xen-541a47d53d16745d9dd652647175793a31e35e3b.tar.bz2
xen-541a47d53d16745d9dd652647175793a31e35e3b.zip
xend: Enlarge the memory balloon size for domain creation since shadow
pre-allocation size has changed from 1M to 4M. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xend/XendDomainInfo.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py
index 20de478d1a..577905d459 100644
--- a/tools/python/xen/xend/XendDomainInfo.py
+++ b/tools/python/xen/xend/XendDomainInfo.py
@@ -2519,9 +2519,8 @@ class XendDomainInfo:
# There is an implicit memory overhead for any domain creation. This
# overhead is greater for some types of domain than others. For
# example, an x86 HVM domain will have a default shadow-pagetable
- # allocation of 1MB. We free up 4MB here to be on the safe side.
- # 2MB memory allocation was not enough in some cases, so it's 4MB now
- balloon.free(4*1024, self) # 4MB should be plenty
+ # allocation of 4MB. We free up 16MB here to be on the safe side.
+ balloon.free(16*1024, self) # 16MB should be plenty
ssidref = 0
if security.on() == xsconstants.XS_POLICY_USE: