[PATCH v5 08/19] arm/arm64: KVM: make the maximum number of vCPUs a per-VM value

Christoffer Dall christoffer.dall at linaro.org
Sat Dec 13 05:31:14 PST 2014


On Mon, Dec 08, 2014 at 12:37:43PM +0000, Andre Przywara wrote:
> Currently the maximum number of vCPUs supported is a global value
> limited by the used GIC model. GICv3 will lift this limit, but we
> still need to observe it for guests using GICv2.
> So the maximum number of vCPUs is per-VM value, depending on the
> GIC model the guest uses.
> Store and check the value in struct kvm_arch, but keep it down to
> 8 for now.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

Reviewed-by: Christoffer Dall <christoffer.dall at linaro.org>



More information about the linux-arm-kernel mailing list