From: Christoffer Dall Date: Tue, 9 Dec 2014 13:33:45 +0000 (+0100) Subject: arm/arm64: KVM: Don't allow creating VCPUs after vgic_initialized X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716139df2517fbc3f2306dbe8eba0fa88dca0189;p=pandora-kernel.git arm/arm64: KVM: Don't allow creating VCPUs after vgic_initialized When the vgic initializes its internal state it does so based on the number of VCPUs available at the time. If we allow KVM to create more VCPUs after the VGIC has been initialized, we are likely to error out in unfortunate ways later, perform buffer overflows etc. Acked-by: Marc Zyngier Reviewed-by: Eric Auger Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed