projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
912c5a1
)
xend: Fix grow of the LEGACY_UNSUPPORTED_BY_XENAPI_CFG list each time
author
Keir Fraser
<keir.fraser@citrix.com>
Sat, 2 Feb 2008 10:53:24 +0000
(10:53 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Sat, 2 Feb 2008 10:53:24 +0000
(10:53 +0000)
we instantiate a new XendConfig.
Signed-off-by: Pascal Bouchareine <pascal@gandi.net>
tools/python/xen/xend/XendConfig.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendConfig.py
b/tools/python/xen/xend/XendConfig.py
index 2c6f3af5af7ccd813aac7cacd66bd2742f0a7601..8e5d258f0218c26f661b2ec2d326643585c846cb 100644
(file)
--- a/
tools/python/xen/xend/XendConfig.py
+++ b/
tools/python/xen/xend/XendConfig.py
@@
-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)