This is a split and cleaned-up version of Maxim's patch to fix the SVM race between interrupt delivery and AVIC inhibition. The final difference is just code movement and formatting. Maxim Levitsky (2): KVM: SVM: extract avic_ring_doorbell KVM: SVM: fix race between interrupt delivery and AVIC inhibition Paolo Bonzini (1): KVM: SVM: set IRR in svm_deliver_interrupt arch/x86/kvm/svm/avic.c | 73 ++++++++++++++--------------------------- arch/x86/kvm/svm/svm.c | 48 +++++++++++++++++++++++---- arch/x86/kvm/svm/svm.h | 4 ++- arch/x86/kvm/x86.c | 4 ++- 4 files changed, 72 insertions(+), 57 deletions(-) -- 2.31.1