diff options
author | Robert Hoo <robert.hu@linux.intel.com> | 2022-04-19 23:33:18 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-08 04:47:15 -0400 |
commit | ed3905ba60384ab8c73b421c3618375e58080a9a (patch) | |
tree | d6f13ba4004da1c48e018395a4cb22b51f1c6d82 /arch/x86/kvm/vmx/vmcs.h | |
parent | 465932db25f3664893b66152c7b190afd28c32db (diff) | |
download | linux-stable-ed3905ba60384ab8c73b421c3618375e58080a9a.tar.gz linux-stable-ed3905ba60384ab8c73b421c3618375e58080a9a.tar.bz2 linux-stable-ed3905ba60384ab8c73b421c3618375e58080a9a.zip |
KVM: VMX: Extend BUILD_CONTROLS_SHADOW macro to support 64-bit variation
The Tertiary VM-Exec Control, different from previous control fields, is 64
bit. So extend BUILD_CONTROLS_SHADOW() by adding a 'bit' parameter, to
support both 32 bit and 64 bit fields' auxiliary functions building.
Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Robert Hoo <robert.hu@linux.intel.com>
Signed-off-by: Zeng Guang <guang.zeng@intel.com>
Message-Id: <20220419153318.11595-1-guang.zeng@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmcs.h')
0 files changed, 0 insertions, 0 deletions