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)
commit89ef0f21cf96200dfa46cec92228ef435681589f
treeb322f1ba6a749ccf9df3fc211799a250eb36d199
parent29802380b6793eabcac648e1c097c7bd6333f3d4
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