]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Evaluate ability to inject SMI/NMI/IRQ after potential VM-Exit
authorSean Christopherson <seanjc@google.com>
Tue, 30 Aug 2022 23:16:05 +0000 (23:16 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Sep 2022 16:03:09 +0000 (12:03 -0400)
commitd0f2ab6c5f41fad35395d8be2d988aeca47695c0
treed849204509d491fe7e9718dd67035a28e976f607
parentf5811c836c33866466cfe40fd8693485969a838e
KVM: x86: Evaluate ability to inject SMI/NMI/IRQ after potential VM-Exit

Determine whether or not new events can be injected after checking nested
events.  If a VM-Exit occurred during nested event handling, any previous
event that needed re-injection is gone from's KVM perspective; the event
is captured in the vmc*12 VM-Exit information, but doesn't exist in terms
of what needs to be done for entry to L1.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Link: https://lore.kernel.org/r/20220830231614.3580124-19-seanjc@google.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c