[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEND] Fix HVM configuration parsing typo for certain cfg values.



# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Node ID 18b4b0fdf56b8c8915f26b87ea850bebe6f71669
# Parent  8b91546569d75db4144ae76a76f35234fb92de28
[XEND] Fix HVM configuration parsing typo for certain cfg values.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendConfig.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8b91546569d7 -r 18b4b0fdf56b tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Thu Nov 30 15:19:01 2006 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Thu Nov 30 15:41:35 2006 +0000
@@ -625,7 +625,7 @@ class XendConfig(dict):
             self['image'] = image
 
             for apikey, imgkey in XENAPI_HVM_CFG.items():
-                val = sxp.child(image_sxp, imgkey, None)
+                val = sxp.child_value(image_sxp, imgkey, None)
                 if val != None:
                     self[apikey] = val
 
@@ -1039,7 +1039,7 @@ class XendConfig(dict):
         self['image'] = image
 
         for apikey, imgkey in XENAPI_HVM_CFG.items():
-            val = sxp.child(image_sxp, imgkey, None)
+            val = sxp.child_value(image_sxp, imgkey, None)
             if val != None:
                 self[apikey] = val        
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.