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-3.1-testing] xend: Fix grow of the LEGACY_UNSUPPORT

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 05 Feb 2008 11:10:49 -0800
Delivery-date: Tue, 05 Feb 2008 11:11:28 -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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202134953 0
# Node ID 8af83080ec8981570b7d747094099b80d42b0e4f
# Parent  d537f1a3ed775e9ed4c17147123b41ede5760a0b
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 d537f1a3ed77 -r 8af83080ec89 tools/python/xen/xend/XendConfig.py
--- a/tools/python/xen/xend/XendConfig.py       Mon Feb 04 14:22:17 2008 +0000
+++ b/tools/python/xen/xend/XendConfig.py       Mon Feb 04 14:22:33 2008 +0000
@@ -489,8 +489,8 @@ class XendConfig(dict):
             cfg["maxmem"] = int(sxp.child_value(sxp_cfg, "maxmem"))
             
         # 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time, Xen patchbot-3.1-testing <=