|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xend: Balloon 4MB memory slop when creati
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238582791 -3600
# Node ID 5759a5766ccac5612f74567e2427ac8e7e629e16
# Parent 9c552123b130afa2f6477bdf9ef5a00e709fcf0d
xend: Balloon 4MB memory slop when creating a domain
I've found some problems when running 2 guests with and then trying
to install a new machine (no matter whether using virt-manager or
virt-install).
Signed-off-by: Michal Novotny <minovotn@xxxxxxxxxx>
---
tools/python/xen/xend/XendDomainInfo.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -r 9c552123b130 -r 5759a5766cca tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py Wed Apr 01 11:45:22 2009 +0100
+++ b/tools/python/xen/xend/XendDomainInfo.py Wed Apr 01 11:46:31 2009 +0100
@@ -2253,8 +2253,9 @@ 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 2MB here to be on the safe side.
- balloon.free(2*1024, self) # 2MB should be plenty
+ # 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
ssidref = 0
if security.on() == xsconstants.XS_POLICY_USE:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xend: Balloon 4MB memory slop when creating a domain,
Xen patchbot-unstable <=
|
|
|
|
|