KVM: x86: Replace growing set of *_in_guest bools with a u64
authorJim Mattson <jmattson@google.com>
Thu, 26 Jun 2025 00:12:21 +0000 (17:12 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 9 Jul 2025 16:32:32 +0000 (09:32 -0700)
commit6fbef8615d3588450045f014c6015d0beeff6cf2
treea21d7795ebcff1fd5c1b1e5c5cd98fb4d89ec5e9
parente88cfd50b60602c1084bf989c2503abac5b99fd6
KVM: x86: Replace growing set of *_in_guest bools with a u64

Store each "disabled exit" boolean in a single bit rather than a byte.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20250530185239.2335185-2-jmattson@google.com
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Link: https://lore.kernel.org/r/20250626001225.744268-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h