[PATCH] ARM: KVM: drop arbitrary limitation to 4 CPU VMs

Marc Zyngier marc.zyngier at arm.com
Wed Oct 9 02:40:29 EDT 2013


On 2013-10-09 03:15, Peter Maydell wrote:
> On 9 October 2013 02:17, Marc Zyngier <marc.zyngier at arm.com> wrote:
>> It appears we have an arbitrary limitation where we refuse to
>> create more than 4 virtual A15 in a single VM.
>>
>> This limitation doesn't make much sense (the number 4 probably
>> comes from the maximum number of CPUs in a A15 cluster, but
>> KVM doesn't have any notion of cluster)
>
> "Don't allow configurations that can't exist in hardware" makes
> sense as a restriction to me... QEMU will also enforce the 4-cpu
> limit.

Nothing prevents anyone from building a multi-cluster A15 system:
http://www.lsi.com/products/mobile-communication-processors/pages/axxia-communication-processor-axm5500.aspx

If you want to limit QEMU to specific configurations, that's perfectly 
fine. The kernel doesn't need to, and kvmtool won't.

         M.
-- 
Fast, cheap, reliable. Pick two.



More information about the linux-arm-kernel mailing list