mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time
we instantiate a new XendConfig. Signed-off-by: Pascal Bouchareine <pascal@gandi.net>
This commit is contained in:
1 parent
912c5a1f61
commit
48a61dfcea
1 file changed
+2
-2
@@ -514,8 +514,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)
|
||||
|
||||