22 lines
967 B
Diff
22 lines
967 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
# Date 1226672871 0
|
|
# Node ID 85198c4d4da516000d002f66fded65f11ef64ab6
|
|
# Parent 3ba83def85a234d49ac426f46100dc2a6bcda761
|
|
Fix to save CPU affinity for xm save/restore
|
|
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
|
|
|
|
Index: xen-3.3.1-testing/tools/python/xen/xend/XendConfig.py
|
|
===================================================================
|
|
--- xen-3.3.1-testing.orig/tools/python/xen/xend/XendConfig.py
|
|
+++ xen-3.3.1-testing/tools/python/xen/xend/XendConfig.py
|
|
@@ -1030,8 +1030,6 @@ class XendConfig(dict):
|
|
sxpr.append([name, s])
|
|
|
|
for xenapi, legacy in XENAPI_CFG_TO_LEGACY_CFG.items():
|
|
- if legacy in ('cpus'): # skip this
|
|
- continue
|
|
if self.has_key(xenapi) and self[xenapi] not in (None, []):
|
|
if type(self[xenapi]) == bool:
|
|
# convert booleans to ints before making an sxp item
|