Fix xm vcpu-set command for when wrong number of VCPU is given
PATCH RESEND 1/1 Fix xm vcpu-set command for when wrong number of VCPU is given
Hi,
I resend the patch to solve the issue that I reported as follows.
http://lists.xensource.com/archives/html/xen-devel/2007-02/msg00746.html
The behavior of the xm vcpu-set command isn't the specification, is it? If it is specification, I withdraw the patch. Could you possibly comment or apply the patch?
Best regards,
Kan
tools/python/xen/xend/XendDomainInfo.py +3 -0
@@ -913,6 +913,9 @@ class XendDomainInfo: return self.info['vcpus_number'] def setVCpuCount(self, vcpus): + if vcpus <= 0: + raise XendError('Invalid VCPUs') + self.info['vcpu_avail'] = (1 << vcpus) - 1 if self.domid >= 0: self.storeVm('vcpu_avail', self.info['vcpu_avail'])
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Ewan Mellor
AppliedOn Mon, Feb 26, 2007 at 07:08:19PM +0900, Masaki Kanno wrote:
Content-Description: Mail message body
Quoted 4 lines
Hi,
I resend the patch to solve the issue that I reported as follows.
Quoted 8 lines
http://lists.xensource.com/archives/html/xen-devel/2007-02/msg00746.html
The behavior of the xm vcpu-set command isn't the specification, is it? If it is specification, I withdraw the patch. Could you possibly comment or apply the patch?
Signed-off-by Masaki Kanno <[email protected]>
Applied, thank you, and sorry for the delay.
Ewan.