* [PATCH] diable HVM auto-balloon on ia64
@ 2006-05-21 21:07 Alex Williamson
2006-05-21 22:29 ` [Xen-ia64-devel] " Alex Williamson
0 siblings, 1 reply; 2+ messages in thread
From: Alex Williamson @ 2006-05-21 21:07 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel, xen-ia64-devel
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 <alex.williamson@hp.com>
---
diff -r 4dcb93547710 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py Sun May 21 09:55:15 2006 +0100
+++ b/tools/python/xen/xend/image.py Sun May 21 14:25:19 2006 -0600
@@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xen-ia64-devel] [PATCH] diable HVM auto-balloon on ia64
2006-05-21 21:07 [PATCH] diable HVM auto-balloon on ia64 Alex Williamson
@ 2006-05-21 22:29 ` Alex Williamson
0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2006-05-21 22:29 UTC (permalink / raw)
To: Keir Fraser; +Cc: xen-devel, xen-ia64-devel
On Sun, 2006-05-21 at 15:07 -0600, Alex Williamson wrote:
> diff -r 4dcb93547710 tools/python/xen/xend/image.py
> --- a/tools/python/xen/xend/image.py Sun May 21 09:55:15 2006 +0100
> +++ b/tools/python/xen/xend/image.py Sun May 21 14:25:19 2006 -0600
> @@ -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
--
Alex Williamson HP Linux & Open Source Lab
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-05-21 22:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-21 21:07 [PATCH] diable HVM auto-balloon on ia64 Alex Williamson
2006-05-21 22:29 ` [Xen-ia64-devel] " Alex Williamson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.