diable HVM auto-balloon on ia64
PATCH 1/1 diable HVM auto-balloon on ia64
The HVM auto-ballooning is causing problems for paravirtualized guests
on HVM enabled ia64 systems. This allows them to boot again. Maybe we can take advantage of this when we have better ballooning support on xen/ia64.
Signed-off-by Alex Williamson <[email protected]>
---
tools/python/xen/xend/image.py +1 -1
@@ -146,7 +146,7 @@ class ImageHandler: """@return The memory required, in KiB, by the domain to store the given amount, also in KiB. This is normally just mem, but if HVM is supported, keep a little extra free.""" - if 'hvm' in xc.xeninfo()['xen_caps']: + if 'hvm' in xc.xeninfo()['xen_caps'] and os.uname()[4] != 'ia64': mem_kb += 4*1024; return mem_kb
tools/python/xen/xend/image.py class ImageHandler: · line 151
Quoted 11 lines · Alex Williamson
diff -r
4dcb93547710tools/python/xen/xend/image.pytools/python/xen/xend/image.py +1
-1@@ -146,7 +146,7 @@ class ImageHandler: """@return The memory required, in KiB, by the domain to store the given amount, also in KiB. This is normally just mem, but if HVM is supported, keep a little extra free.""" - if 'hvm' in xc.xeninfo()['xen_caps']: + if 'hvm' in xc.xeninfo()['xen_caps'] and os.uname()[4] != 'ia64': mem_kb += 4*1024; return mem_kb
Looks like this is just a partial solution, VTi guests are still
broken with only this change. Instead, we probably need to look at cset 10040. I suspect we don't yet have the ballooning support and need to do the allocation up front. Thanks,
Alex
Signature · 1 line
Alex Williamson HP Linux & Open Source Lab