Re: [Qemu-devel] [kvm-unit-tests PATCH v5 09/11] arm: query /dev/kvm for maximum vcpus

2015-08-02 Thread Andrew Jones
On Fri, Jul 31, 2015 at 09:17:12PM +0200, Andrew Jones wrote: > On Fri, Jul 31, 2015 at 04:53:59PM +0100, Alex Bennée wrote: > > From: Alex Bennée > > > > The previous $(getconf _NPROCESSORS_CONF) isn't correct as the default > > maximum VCPU configuration is 4 on arm64 machines which typically h

Re: [Qemu-devel] [kvm-unit-tests PATCH v5 09/11] arm: query /dev/kvm for maximum vcpus

2015-07-31 Thread Andrew Jones
On Fri, Jul 31, 2015 at 04:53:59PM +0100, Alex Bennée wrote: > From: Alex Bennée > > The previous $(getconf _NPROCESSORS_CONF) isn't correct as the default > maximum VCPU configuration is 4 on arm64 machines which typically have > more actual cores. The kernel should probably bump that up to 8,

[Qemu-devel] [kvm-unit-tests PATCH v5 09/11] arm: query /dev/kvm for maximum vcpus

2015-07-31 Thread Alex Bennée
From: Alex Bennée The previous $(getconf _NPROCESSORS_CONF) isn't correct as the default maximum VCPU configuration is 4 on arm64 machines which typically have more actual cores. This introduces a simple utility program to query the KVM capabilities and use the correct maximum number of vcpus.