xend: Better support for legacy HVM config of ia64
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 10:27:40 +0000 (11:27 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Aug 2008 10:27:40 +0000 (11:27 +0100)
On ia64, direct Linux boot is not supported, and 'Flash.fd' or
'guest_firmware.bin' has been used as a value of the 'kernel'
option. Cset:17016 ignores those strings and overrides them with
"/usr/lib/xen/boot/hvmloader".

Signed-off-by: Kazuhiro Suzuki <kaz@jp.fujitsu.com>
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/python/xen/xend/XendConfig.py

index 484621970dc10c0f2c7851cc6e473b1d5d76e56d..afc8cd3caf2534d3f177390d838f361be02cc7f7 100644 (file)
@@ -448,7 +448,7 @@ class XendConfig(dict):
                 self['platform']['hpet'] = 0
             if 'loader' not in self['platform']:
                 # Old configs may have hvmloader set as PV_kernel param
-                if self.has_key('PV_kernel') and re.search('hvmloader', self['PV_kernel']):
+                if self.has_key('PV_kernel'):
                     self['platform']['loader'] = self['PV_kernel']
                     self['PV_kernel'] = ''
                 else: