ia64/xen-unstable

changeset 16967:b1b93caa7d8e

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>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Feb 02 10:53:24 2008 +0000 (2008-02-02)
parents 5d84464dc1fc
children 8b6fa61bb433
files tools/python/xen/xend/XendConfig.py
line diff
     1.1 --- a/tools/python/xen/xend/XendConfig.py	Sat Feb 02 10:51:54 2008 +0000
     1.2 +++ b/tools/python/xen/xend/XendConfig.py	Sat Feb 02 10:53:24 2008 +0000
     1.3 @@ -514,8 +514,8 @@ class XendConfig(dict):
     1.4              int(sxp.child_value(sxp_cfg, "cpu_cap", 0))
     1.5  
     1.6          # Only extract options we know about.
     1.7 -        extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG
     1.8 -        extract_keys += XENAPI_CFG_TO_LEGACY_CFG.values()
     1.9 +        extract_keys = LEGACY_UNSUPPORTED_BY_XENAPI_CFG + \
    1.10 +                  XENAPI_CFG_TO_LEGACY_CFG.values()
    1.11          
    1.12          for key in extract_keys:
    1.13              val = sxp.child_value(sxp_cfg, key)