Re: [libvirt] [PATCH 5/6] tools: fix the wrong check when use virsh setvcpus --maximum

2015-03-24 Thread Pavel Hrdina
On Tue, Mar 24, 2015 at 05:34:31PM +0100, Peter Krempa wrote: > On Fri, Mar 20, 2015 at 15:39:03 +0100, Pavel Hrdina wrote: > > From: Luyao Huang > > > > We will ignore --maximum option when only use setvcpus with > > this option, like this (this error is another issue): > > > > # virsh setvcpu

Re: [libvirt] [PATCH 5/6] tools: fix the wrong check when use virsh setvcpus --maximum

2015-03-24 Thread Peter Krempa
On Fri, Mar 20, 2015 at 15:39:03 +0100, Pavel Hrdina wrote: > From: Luyao Huang > > We will ignore --maximum option when only use setvcpus with > this option, like this (this error is another issue): > > # virsh setvcpus test3 --maximum 10 > error: Failed to create controller cpu for group: No

Re: [libvirt] [PATCH 5/6] tools: fix the wrong check when use virsh setvcpus --maximum

2015-03-23 Thread Pavel Hrdina
On Mon, Mar 23, 2015 at 11:33:50AM +0800, Yanbing Du wrote: > > > On 03/20/2015 10:39 PM, Pavel Hrdina wrote: > > From: Luyao Huang > > > > We will ignore --maximum option when only use setvcpus with > > this option, like this (this error is another issue): > > > > # virsh setvcpus test3 --max

Re: [libvirt] [PATCH 5/6] tools: fix the wrong check when use virsh setvcpus --maximum

2015-03-22 Thread Yanbing Du
On 03/20/2015 10:39 PM, Pavel Hrdina wrote: From: Luyao Huang We will ignore --maximum option when only use setvcpus with this option, like this (this error is another issue): # virsh setvcpus test3 --maximum 10 error: Failed to create controller cpu for group: No such file or directory

[libvirt] [PATCH 5/6] tools: fix the wrong check when use virsh setvcpus --maximum

2015-03-20 Thread Pavel Hrdina
From: Luyao Huang We will ignore --maximum option when only use setvcpus with this option, like this (this error is another issue): # virsh setvcpus test3 --maximum 10 error: Failed to create controller cpu for group: No such file or directory this is because we do not set it in flags before