diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-05-13 13:28:23 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-01 04:26:02 -0400 |
commit | e9fd761a46b8655aa5ff84b4adc0c8cf43952145 (patch) | |
tree | 9ddc74a6cf41ff515964315c4a89ce9e5580882a /arch/x86/include/asm/kvm_host.h | |
parent | 36e2e98363e6c13288de6824b51866292dbc151d (diff) | |
download | lwn-e9fd761a46b8655aa5ff84b4adc0c8cf43952145.tar.gz lwn-e9fd761a46b8655aa5ff84b4adc0c8cf43952145.zip |
KVM: nSVM: remove HF_VINTR_MASK
Now that the int_ctl field is stored in svm->nested.ctl.int_ctl, we can
use it instead of vcpu->arch.hflags to check whether L2 is running
in V_INTR_MASKING mode.
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, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index e6f2e1a2dab6..0dfc522f96cc 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -1596,7 +1596,6 @@ enum { #define HF_GIF_MASK (1 << 0) #define HF_HIF_MASK (1 << 1) -#define HF_VINTR_MASK (1 << 2) #define HF_NMI_MASK (1 << 3) #define HF_IRET_MASK (1 << 4) #define HF_GUEST_MASK (1 << 5) /* VCPU is in guest-mode */ |