Following auto-balloon doesn't work for xen/ia64, since balloon doesn't work yet. Patch's a bit dirty, which however promises ia64 domU and domVTI to boot again. (Based on fix from Alex) Signed-off-by Kevin Tian diff -r 14717dedba02 tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py Sun May 21 20:15:58 2006 +0100 +++ b/tools/python/xen/xend/XendDomainInfo.py Mon May 22 16:43:48 2006 +0800 @@ -29,6 +29,7 @@ import string import string import time import threading +import os import xen.lowlevel.xc from xen.util import asserts @@ -1264,8 +1265,10 @@ class XendDomainInfo: m = self.image.getDomainMemory(self.info['memory'] * 1024) balloon.free(m) xc.domain_setmaxmem(self.domid, m) - xc.domain_memory_increase_reservation(self.domid, self.info['memory'] * 1024, 0, 0) - + if os.uname()[4]!='ia64': + xc.domain_memory_increase_reservation(self.domid, self.info['memory'] * 1024, 0, 0) + else: + xc.domain_memory_increase_reservation(self.domid, m, 0, 0) self.createChannels() channel_details = self.image.createImage() diff -r 14717dedba02 tools/python/xen/xend/image.py --- a/tools/python/xen/xend/image.py Sun May 21 20:15:58 2006 +0100 +++ b/tools/python/xen/xend/image.py Mon May 22 16:43:48 2006 +0800 @@ -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