]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nSVM: avoid loss of pending IRQ/NMI before entering L2
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 4 Mar 2020 22:05:44 +0000 (17:05 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:55 +0000 (17:58 +0100)
commit43345fc645d2e616dd84f03fdaab194204c20923
tree00a92e9fec3a93eaf918bfe6b91594d0a6e8c8c9
parent939f6001c1443e5c007694cb98bc92a5c1a070c3
KVM: nSVM: avoid loss of pending IRQ/NMI before entering L2

This patch reproduces for nSVM the change that was made for nVMX in
commit 26d41996f325 ("KVM: nVMX: Fix loss of pending IRQ/NMI before
entering L2").  While I do not have a test that breaks without it, I
cannot see why it would not be necessary since all events are unblocked
by VMRUN's setting of GIF back to 1.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm.c