KVM: nSVM: remove HF_VINTR_MASK
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 May 2020 17:28:23 +0000 (13:28 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:02 +0000 (04:26 -0400)
commite9fd761a46b8655aa5ff84b4adc0c8cf43952145
tree9ddc74a6cf41ff515964315c4a89ce9e5580882a
parent36e2e98363e6c13288de6824b51866292dbc151d
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h