debuggers.hg
changeset 12678:18b4b0fdf56b
[XEND] Fix HVM configuration parsing typo for certain cfg values.
Signed-off-by: Alastair Tse <atse@xensource.com>
Signed-off-by: Alastair Tse <atse@xensource.com>
author | Alastair Tse <atse@xensource.com> |
---|---|
date | Thu Nov 30 15:41:35 2006 +0000 (2006-11-30) |
parents | 8b91546569d7 |
children | 01860d20feac |
files | tools/python/xen/xend/XendConfig.py |
line diff
1.1 --- a/tools/python/xen/xend/XendConfig.py Thu Nov 30 15:19:01 2006 +0000 1.2 +++ b/tools/python/xen/xend/XendConfig.py Thu Nov 30 15:41:35 2006 +0000 1.3 @@ -625,7 +625,7 @@ class XendConfig(dict): 1.4 self['image'] = image 1.5 1.6 for apikey, imgkey in XENAPI_HVM_CFG.items(): 1.7 - val = sxp.child(image_sxp, imgkey, None) 1.8 + val = sxp.child_value(image_sxp, imgkey, None) 1.9 if val != None: 1.10 self[apikey] = val 1.11 1.12 @@ -1039,7 +1039,7 @@ class XendConfig(dict): 1.13 self['image'] = image 1.14 1.15 for apikey, imgkey in XENAPI_HVM_CFG.items(): 1.16 - val = sxp.child(image_sxp, imgkey, None) 1.17 + val = sxp.child_value(image_sxp, imgkey, None) 1.18 if val != None: 1.19 self[apikey] = val 1.20