[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [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
>+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

        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.

Thanks,
Kevin

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.