Re: [libvirt] [PATCH 2/7] virsh-domain: Refactor cmdVcpucount and fix output on inactive domains

2013-04-16 Thread Peter Krempa
On 04/16/13 00:44, Eric Blake wrote: On 04/15/2013 09:11 AM, Peter Krempa wrote: This patch factors out the vCPU count retrieval including fallback means into vshCPUCountCollect() and removes the duplicated code to retrieve individual counts. The --current flag (this flag is assumed by default)

Re: [libvirt] [PATCH 2/7] virsh-domain: Refactor cmdVcpucount and fix output on inactive domains

2013-04-15 Thread Eric Blake
On 04/15/2013 09:11 AM, Peter Krempa wrote: > This patch factors out the vCPU count retrieval including fallback means into > vshCPUCountCollect() and removes the duplicated code to retrieve individual > counts. > > The --current flag (this flag is assumed by default) now works also with > --maxim

[libvirt] [PATCH 2/7] virsh-domain: Refactor cmdVcpucount and fix output on inactive domains

2013-04-15 Thread Peter Krempa
This patch factors out the vCPU count retrieval including fallback means into vshCPUCountCollect() and removes the duplicated code to retrieve individual counts. The --current flag (this flag is assumed by default) now works also with --maximum or --active without the need to explicitly specify th