Skip to contentSkip to conversation

Fix a warning message of XendConfig.py

PATCH New Masaki Kanno 1 participant 1 message Jan 16, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix a warning message of XendConfig.py

Hi,

When I created a domU, I found the following warning message in xend.log. This patch fixes it.

[2007-01-16 14:52:05 5122] WARNING (XendConfig:609) Unconverted key: cpus

Best regards,
Kan

tools/python/xen/xend/XendConfig.py +1 -0
diff -r fb46005e0756 tools/python/xen/xend/XendConfig.py
@@ -126,6 +126,7 @@ XENAPI_CFG_TYPES = {
     'memory_dynamic_min': int,
     'memory_dynamic_max': int,
     'memory_actual': int,
+    'cpus': list,
     'vcpus_policy': str,
     'vcpus_params': str,
     'vcpus_number': int,

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel