diff options
author | Maxim Levitsky <mlevitsk@redhat.com> | 2023-01-31 03:32:53 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-01-31 23:56:42 +0300 |
commit | c760e86f27fed4aeb46e206a6476b82d8e2d1762 (patch) | |
tree | 0a61ed9f6998aecb228cce0a63b6f5772af6ba8f /arch/x86/include/asm/kvm_host.h | |
parent | 8957cbcfed0a7e423695d90600b2643dda31fc7b (diff) | |
download | linux-c760e86f27fed4aeb46e206a6476b82d8e2d1762.tar.xz |
KVM: x86: Move HF_GIF_MASK into "struct vcpu_svm" as "guest_gif"
Move HF_GIF_MASK out of the common "hflags" and into vcpu_svm.guest_gif.
GIF is an SVM-only concept and has should never be consulted outside of
SVM-specific code.
No functional change is intended.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Tested-by: Santosh Shukla <Santosh.Shukla@amd.com>
Link: https://lore.kernel.org/r/20221129193717.513824-5-mlevitsk@redhat.com
[sean: split to separate patch]
Signed-off-by: Sean Christopherson <seanjc@google.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 4d2bc08794e4..e743220b10c3 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -2074,7 +2074,6 @@ enum { TASK_SWITCH_GATE = 3, }; -#define HF_GIF_MASK (1 << 0) #define HF_NMI_MASK (1 << 3) #define HF_IRET_MASK (1 << 4) #define HF_GUEST_MASK (1 << 5) /* VCPU is in guest-mode */ |