[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] XendDomainInfo.py:
ChangeSet 1.1612, 2005/05/31 14:59:49+01:00, cl349@xxxxxxxxxxxxxxxxxxxx XendDomainInfo.py: cpu == 0 is the 1st cpu, allow pinning a domain to it. Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx> XendDomainInfo.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py --- a/tools/python/xen/xend/XendDomainInfo.py 2005-05-31 12:03:38 -04:00 +++ b/tools/python/xen/xend/XendDomainInfo.py 2005-05-31 12:03:38 -04:00 @@ -555,7 +555,7 @@ if self.memory is None: raise VmError('missing memory size') cpu = sxp.child_value(config, 'cpu') - if self.recreate and self.dom and cpu is not None and cpu > 0: + if self.recreate and self.dom and cpu is not None and cpu >= 0: xc.domain_pincpu(self.dom, 0, 1<<int(cpu)) try: image = sxp.child_value(self.config, 'image') _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |