]> Gentwo Git Trees - linux/.git/commit
KVM: VMX: Add helpers to toggle/change a bit in VMCS execution controls
authorDapeng Mi <dapeng1.mi@linux.intel.com>
Wed, 6 Aug 2025 19:56:48 +0000 (12:56 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 18 Sep 2025 19:57:19 +0000 (12:57 -0700)
commit2bff2edf69ed80b21d35470a3580f25979be2c4b
tree506f257dfde19ba6e42f23122853f14700cd0cd1
parent5a1a726e68ff256f564cf51ad21a96bceb4dd954
KVM: VMX: Add helpers to toggle/change a bit in VMCS execution controls

Expand the VMCS controls builder macros to generate helpers to change a
bit to the desired value, and use the new helpers when toggling APICv
related controls.

No functional change intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Signed-off-by: Mingwei Zhang <mizhang@google.com>
[sean: rewrite changelog]
Tested-by: Xudong Hao <xudong.hao@intel.com>
Link: https://lore.kernel.org/r/20250806195706.1650976-27-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/vmx/vmx.c
arch/x86/kvm/vmx/vmx.h