linux/arch/x86/kvm
Gleb Natapov 299018f44a KVM: Fix race in apic->pending_events processing
apic->pending_events processing has a race that may cause INIT and
SIPI
processing to be reordered:

vpu0:                            vcpu1:
set INIT
                               test_and_clear_bit(KVM_APIC_INIT)
                                  process INIT
set INIT
set SIPI
                               test_and_clear_bit(KVM_APIC_SIPI)
                                  process SIPI

At the end INIT is left pending in pending_events. The following patch
fixes this by latching pending event before processing them.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
2013-06-03 11:32:39 +03:00
..
Kconfig kvm: Allow build-time configuration of KVM device assignment 2013-04-28 12:58:56 +03:00
Makefile kvm: Allow build-time configuration of KVM device assignment 2013-04-28 12:58:56 +03:00
cpuid.c
cpuid.h
emulate.c KVM: fix sil/dil/bpl/spl in the mod/rm fields 2013-06-03 11:27:12 +03:00
i8254.c
i8254.h
i8259.c
irq.c
irq.h
kvm_cache_regs.h
lapic.c KVM: Fix race in apic->pending_events processing 2013-06-03 11:32:39 +03:00
lapic.h
mmu.c
mmu.h
mmu_audit.c
mmutrace.h
paging_tmpl.h
pmu.c
svm.c Merge tag 'kvm-3.10-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm 2013-05-05 14:47:31 -07:00
trace.h
tss.h
vmx.c KVM: VMX: fix halt emulation while emulating invalid guest sate 2013-05-09 09:04:56 +03:00
x86.c KVM: x86: fix maintenance of guest/host xcr0 state 2013-05-08 12:47:43 +03:00
x86.h