ia64/xen-unstable

changeset 2629:9986cab328b7

bitkeeper revision 1.1159.108.1 (416c448cJI8mt2eMnwbg061FjyhOpg)

Put migrated domains on the cpu they were originally assigned.
author cl349@freefall.cl.cam.ac.uk
date Tue Oct 12 20:54:36 2004 +0000 (2004-10-12)
parents 9402048e2325
children 5acf9e0cea1d
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Mon Oct 11 12:48:40 2004 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Tue Oct 12 20:54:36 2004 +0000
     1.3 @@ -439,6 +439,9 @@ class XendDomainInfo:
     1.4              self.memory = int(sxp.child_value(config, 'memory'))
     1.5              if self.memory is None:
     1.6                  raise VmError('missing memory size')
     1.7 +            cpu = sxp.child_value(config, 'cpu')
     1.8 +            if self.dom and cpu is not None:
     1.9 +                xc.domain_pincpu(self.dom, int(cpu))
    1.10  
    1.11              self.init_domain()
    1.12              self.configure_console()