mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
b87e597231
commit
3ca259a393
1 file changed
+1
-1
@@ -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:
|
||||
|
||||