diff options
author | Christoffer Dall <christoffer.dall@linaro.org> | 2014-12-09 14:33:45 +0100 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-12-13 14:17:10 +0100 |
commit | 716139df2517fbc3f2306dbe8eba0fa88dca0189 (patch) | |
tree | 5c0a965f16c129f7b31c7404e78b908a184cd4e9 /virt/kvm/assigned-dev.c | |
parent | 1f57be289571d514b9412da2af25a64a81b8dd89 (diff) | |
download | op-kernel-dev-716139df2517fbc3f2306dbe8eba0fa88dca0189.zip op-kernel-dev-716139df2517fbc3f2306dbe8eba0fa88dca0189.tar.gz |
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 <marc.zyngier@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions