]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Save/restore IRQs (instead of CLI/STI) during PI pre/post block
authorSean Christopherson <seanjc@google.com>
Sat, 9 Oct 2021 02:12:18 +0000 (19:12 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Dec 2021 09:24:56 +0000 (04:24 -0500)
commitbd0ed64be9b2f057ae368c8f288513396f932509
treeb322f1ba6a749ccf9df3fc211799a250eb36d199
parent974d9b62ebc4d06400223861eb4a69c6fc3ce290
KVM: VMX: Save/restore IRQs (instead of CLI/STI) during PI pre/post block

Save/restore IRQs when disabling IRQs in posted interrupt pre/post block
in preparation for moving the code into vcpu_put/load(), where it would be
called with IRQs already disabled.

No functional changed intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211009021236.4122790-26-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/posted_intr.c