WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-devel] Re: [Xen-ia64-devel] [PATCH] diable HVM auto-balloon on ia64

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-ia64-devel] [PATCH] diable HVM auto-balloon on ia64
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Sun, 21 May 2006 16:29:58 -0600
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 21 May 2006 15:30:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1148245639.13851.65.camel@localhost>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: LOSL
References: <1148245639.13851.65.camel@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>