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/
Home Products Support Community News


[Xen-devel] [PATCH] Disable auto-balloon on ia64

To: "Alex Williamson" <alex.williamson@xxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Disable auto-balloon on ia64
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Mon, 22 May 2006 17:06:47 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 22 May 2006 02:07:26 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcZ9JjFSOMUE77N8Q6KpTcn2R3F2KgAWCYMA
Thread-topic: [PATCH] Disable auto-balloon on ia64
>From: Alex Williamson
>Sent: 2006年5月22日 6:30
>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
>> +++ b/tools/python/xen/xend/image.py Sun May 21 14:25:19 2006
>> @@ -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] !=
>>              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

        We just need to reverse the whole change for ia64, since both domU and 
domVTI are insert a hole by this auto-balloon patch. Due to missing balloon 
support on xen/ia64 as you said, both domU and domVTI failed due to this change.

        Patch attached.


Attachment: fix-auto-balloon.patch
Description: fix-auto-balloon.patch

Xen-devel mailing list