]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: VMX: Modify the BUILD_BUG_ON_MSG of the 32-bit field in the vmcs_check16 function
authorQiang Liu <liuq131@chinatelecom.cn>
Tue, 2 Jul 2024 06:46:09 +0000 (06:46 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 22 Aug 2024 18:35:15 +0000 (11:35 -0700)
commitcaf22c6dd31294d136e527d0548f8697c7e72f37
treeffd75bccfd3e0707111204eddcf7128fa9c71879
parent47ac09b91befbb6a235ab620c32af719f8208399
KVM: VMX: Modify the BUILD_BUG_ON_MSG of the 32-bit field in the vmcs_check16 function

According to the SDM, the meaning of field bit 0 is:
Access type (0 = full; 1 = high); must be full for 16-bit, 32-bit,
and natural-width fields. So there is no 32-bit high field here,
it should be a 32-bit field instead.

Signed-off-by: Qiang Liu <liuq131@chinatelecom.cn>
Link: https://lore.kernel.org/r/20240702064609.52487-1-liuq131@chinatelecom.cn
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx_ops.h