From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: [PATCH] diable HVM auto-balloon on ia64 Date: Sun, 21 May 2006 15:07:19 -0600 Message-ID: <1148245639.13851.65.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel , xen-ia64-devel List-Id: xen-devel@lists.xenproject.org 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 --- 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