projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8c1df4
)
xend: Make sure that 'PV_kernel' config param is not blank when
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 13 Aug 2008 12:40:38 +0000
(13:40 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 13 Aug 2008 12:40:38 +0000
(13:40 +0100)
assigning it to 'loader' param. This fixes a failure of 'xm create'
via xen-api.
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index afc8cd3caf2534d3f177390d838f361be02cc7f7..c49bfd8a7921c702770637cf44fb5ae415cfb877 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-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'):
+ if self.has_key('PV_kernel')
and self['PV_kernel'] != ''
:
self['platform']['loader'] = self['PV_kernel']
self['PV_kernel'] = ''
else: