KVM: VMX: Cache vmcs.EXIT_INTR_INFO using arch avail_reg flags
Introduce a new "extended register" type, EXIT_INFO_2 (to pair with the nomenclature in .get_exit_info()), and use it to cache VMX's vmcs.EXIT_INTR_INFO. Drop a comment in vmx_recover_nmi_blocking() that is obsoleted by the generic caching mechanism. Signed-off-by:Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200415203454.8296-6-sean.j.christopherson@intel.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
- arch/x86/include/asm/kvm_host.h 1 addition, 0 deletionsarch/x86/include/asm/kvm_host.h
- arch/x86/kvm/vmx/nested.c 5 additions, 5 deletionsarch/x86/kvm/vmx/nested.c
- arch/x86/kvm/vmx/vmx.c 8 additions, 12 deletionsarch/x86/kvm/vmx/vmx.c
- arch/x86/kvm/vmx/vmx.h 13 additions, 1 deletionarch/x86/kvm/vmx/vmx.h
Please register or sign in to comment