debuggers.hg
changeset 2668:5acf9e0cea1d
bitkeeper revision 1.1159.1.225 (416c44ddiCKoVV9fskpXqECTuDVuvQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
author | cl349@freefall.cl.cam.ac.uk |
---|---|
date | Tue Oct 12 20:55:57 2004 +0000 (2004-10-12) |
parents | 98b7d1c6a2f7 9986cab328b7 |
children | 31706ae3b457 |
files | tools/python/xen/xend/XendDomainInfo.py |
line diff
1.1 --- a/tools/python/xen/xend/XendDomainInfo.py Tue Oct 12 17:25:11 2004 +0000 1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py Tue Oct 12 20:55:57 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()