aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-12-19 12:00:11 +0000
committerEwan Mellor <ewan@xensource.com>2006-12-19 12:00:11 +0000
commit9dc2a309b586acb7fede2946bbc2105d7bc1e5d2 (patch)
tree62bf7a5a21cfa442ae660830ad39e54033ef15b9
parent48ac736420681cb2d61f380d8605a13697af57a7 (diff)
downloadxen-3.0.4-branched.tar.gz
xen-3.0.4-branched.tar.bz2
xen-3.0.4-branched.zip
Fix parsing of cpus in the guest configuration file.3.0.4-branched
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
-rw-r--r--tools/python/xen/xend/XendConfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py
index 1d4587fa7e..8dd17c4329 100644
--- a/tools/python/xen/xend/XendConfig.py
+++ b/tools/python/xen/xend/XendConfig.py
@@ -85,6 +85,7 @@ def scrub_password(data):
XENAPI_CFG_TO_LEGACY_CFG = {
'uuid': 'uuid',
'vcpus_number': 'vcpus',
+ 'cpus': 'cpus',
'memory_static_min': 'memory',
'memory_static_max': 'maxmem',
'name_label': 'name',