WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [XEND] Fix HVM configuration parsing typo

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEND] Fix HVM configuration parsing typo for certain cfg values.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Nov 2006 21:30:36 +0000
Delivery-date: Thu, 30 Nov 2006 13:31:30 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEND] Fix HVM configuration parsing typo for certain cfg values., Xen patchbot-unstable <=