Re: [libvirt] [PATCH v2] virsh: use virConnectGetDomainCapabilities with maxvcpus

2016-09-01 Thread John Ferlan
On 07/29/2016 09:49 AM, Shivaprasad G Bhat wrote: > virsh maxvcpus --type kvm output is useless on PPC. Also, in > commit e6806d79 we documented not rely on virConnectGetMaxVcpus > output. Fix the maxvcpus to use virConnectGetDomainCapabilities > now to make it useful. The call is made to use

[libvirt] [PATCH v2] virsh: use virConnectGetDomainCapabilities with maxvcpus

2016-07-29 Thread Shivaprasad G Bhat
virsh maxvcpus --type kvm output is useless on PPC. Also, in commit e6806d79 we documented not rely on virConnectGetMaxVcpus output. Fix the maxvcpus to use virConnectGetDomainCapabilities now to make it useful. The call is made to use the default emulator binary and to check for the host machine