| From | Jim Mattson <> | Date | Tue, 28 Apr 2020 15:07:38 -0700 | Subject | Re: [PATCH 11/13] KVM: VMX: Use vmx_interrupt_blocked() directly from vmx_handle_exit() |
| |
On Wed, Apr 22, 2020 at 7:26 PM Sean Christopherson <sean.j.christopherson@intel.com> wrote: > > Use vmx_interrupt_blocked() instead of bouncing through > vmx_interrupt_allowed() when handling edge cases in vmx_handle_exit(). > The nested_run_pending check in vmx_interrupt_allowed() should never > evaluate true in the VM-Exit path. > > Hoist the WARN in handle_invalid_guest_state() up to vmx_handle_exit() > to enforce the above assumption for the !enable_vnmi case, and to detect > any other potential bugs with nested VM-Enter. > > Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Reviewed-by: Jim Mattson <jmattson@google.com>
|