ia64/xen-unstable

changeset 18307:ce085fc0d2e4

xend: Better support for legacy HVM config of ia64

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>
author Keir Fraser <keir.fraser@citrix.com>
date Mon Aug 11 11:27:40 2008 +0100 (2008-08-11)
parents f10d436d9a9e
children 32aa43364f5d
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Mon Aug 11 11:18:50 2008 +0100
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Mon Aug 11 11:27:40 2008 +0100
     1.3 @@ -448,7 +448,7 @@ class XendConfig(dict):
     1.4                  self['platform']['hpet'] = 0
     1.5              if 'loader' not in self['platform']:
     1.6                  # Old configs may have hvmloader set as PV_kernel param
     1.7 -                if self.has_key('PV_kernel') and re.search('hvmloader', self['PV_kernel']):
     1.8 +                if self.has_key('PV_kernel'):
     1.9                      self['platform']['loader'] = self['PV_kernel']
    1.10                      self['PV_kernel'] = ''
    1.11                  else: