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

[Xen-changelog] [xen-3.2-testing] xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202134543 0
# Node ID 1b605be749106c75ecbb8cffb59e115163e62d6d
# Parent  5544d92614a9bcda6688274ddc0fca0724ebeb00
xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time
we instantiate a new XendConfig.
Signed-off-by: Pascal Bouchareine <pascal@xxxxxxxxx>
xen-unstable changeset:   16965:b1b93caa7d8e2414af06f06c3a9734675f715bad
xen-unstable date:        Sat Feb 02 10:53:24 2008 +0000
---
 tools/python/xen/xend/XendConfig.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 5544d92614a9 -r 1b605be74910 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Mon Feb 04 14:15:21 2008 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Mon Feb 04 14:15:43 2008 +0000
@@ -501,8 +501,8 @@ class XendConfig(dict):
             int(sxp.child_value(sxp_cfg, "cpu_cap", 0))
 
         # Only extract options we know about.
-        extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG
-        extract_keys += XENAPI_CFG_TO_LEGACY_CFG.values()
+        extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG + \
+                  XENAPI_CFG_TO_LEGACY_CFG.values()
         
         for key in extract_keys:
             val = sxp.child_value(sxp_cfg, key)

_______________________________________________
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®.