1
0
Fork 0
alistair23-linux/virt/kvm/arm
Christoffer Dall 6b50f54064 arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create()
If we detect another vCPU is running we just exit and return 0 as if we
succesfully created the VGIC, but the VGIC wouldn't actual be created.

This shouldn't break in-kernel behavior because the kernel will not
observe the failed the attempt to create the VGIC, but userspace could
be rightfully confused.

Cc: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-11-26 14:40:44 +01:00
..
arch_timer.c arm, kvm: fix double lock on cpu_add_remove_lock 2014-04-08 13:15:54 +02:00
vgic-v2.c arm/arm64: KVM: Fix BE accesses to GICv2 EISR and ELRSR regs 2014-10-16 10:57:41 +02:00
vgic-v3.c KVM: arm64: GICv3: mandate page-aligned GICV region 2014-07-31 15:59:40 +02:00
vgic.c arm/arm64: KVM: vgic: Fix error code in kvm_vgic_create() 2014-11-26 14:40:44 +01:00