diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-04-15 13:34:54 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-04-21 09:13:07 -0400 |
commit | 8791585837f659943936b8e1cce9d039436ad1ca (patch) | |
tree | 3771bdeda997bbb6182a6fa96376714bb7158ffb /arch/x86/include/asm/kvm_host.h | |
parent | 5addc235199f15ae964e7ac6b20cf43f4a661573 (diff) | |
download | linux-stable-8791585837f659943936b8e1cce9d039436ad1ca.tar.gz linux-stable-8791585837f659943936b8e1cce9d039436ad1ca.tar.bz2 linux-stable-8791585837f659943936b8e1cce9d039436ad1ca.zip |
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>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 9673ec700cd0..ceba205d32a2 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -171,6 +171,7 @@ enum kvm_reg { VCPU_EXREG_RFLAGS, VCPU_EXREG_SEGMENTS, VCPU_EXREG_EXIT_INFO_1, + VCPU_EXREG_EXIT_INFO_2, }; enum { |