KVM: x86: Move HF_GIF_MASK into "struct vcpu_svm" as "guest_gif"
authorMaxim Levitsky <mlevitsk@redhat.com>
Tue, 31 Jan 2023 00:32:53 +0000 (16:32 -0800)
committerSean Christopherson <seanjc@google.com>
Tue, 31 Jan 2023 20:56:42 +0000 (12:56 -0800)
commitc760e86f27fed4aeb46e206a6476b82d8e2d1762
tree0a61ed9f6998aecb228cce0a63b6f5772af6ba8f
parent8957cbcfed0a7e423695d90600b2643dda31fc7b
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>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.h