mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix to save CPU affinity for xm save/restore
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
317b951c7b
commit
541e42472a
1 file changed
-2
@@ -1032,8 +1032,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
|
||||
|
||||