diff options
author | Sean Christopherson <seanjc@google.com> | 2025-08-06 12:56:36 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-18 12:56:28 -0700 |
commit | 4687a2c4e6a61b247ad14ffb2ef5ca56e44fa4f2 (patch) | |
tree | 6ccb5d3cb41a368714a562b047233d29531d2966 /tools/docs/parse-headers.py | |
parent | 5b5133e6a55bf6ca18de1b33c2ffe17d1162ec8e (diff) |
KVM: VMX: Setup canonical VMCS config prior to kvm_x86_vendor_init()
Setup the golden VMCS config during vmx_init(), before the call to
kvm_x86_vendor_init(), instead of waiting until the callback to do
hardware setup. setup_vmcs_config() only touches VMX state, i.e. doesn't
poke anything in kvm.ko, and has no runtime dependencies beyond
hv_init_evmcs().
Setting the VMCS config early on will allow referencing VMCS and VMX
capabilities at any point during setup, e.g. to check for PERF_GLOBAL_CTRL
save/load support during mediated PMU initialization.
Tested-by: Xudong Hao <xudong.hao@intel.com>
Link: https://lore.kernel.org/r/20250806195706.1650976-15-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions