mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1159.108.1 (416c448cJI8mt2eMnwbg061FjyhOpg)
Put migrated domains on the cpu they were originally assigned.
This commit is contained in:
1 parent
38665e59e7
commit
073c084c3c
1 file changed
+3
@@ -439,6 +439,9 @@ class XendDomainInfo:
|
||||
self.memory = int(sxp.child_value(config, 'memory'))
|
||||
if self.memory is None:
|
||||
raise VmError('missing memory size')
|
||||
cpu = sxp.child_value(config, 'cpu')
|
||||
if self.dom and cpu is not None:
|
||||
xc.domain_pincpu(self.dom, int(cpu))
|
||||
|
||||
self.init_domain()
|
||||
self.configure_console()
|
||||
|
||||