On Thu, 19 Jan 2023 22:19:45 +0800, Yu Zhang wrote: > nested_vmx_setup_ctls_msrs() initializes the vmcs_conf.nested, > which stores the global VMX MSR configurations when nested is > supported, regardless of any particular CPUID settings for one > VM. > > Commit 6defc591846d ("KVM: nVMX: include conditional controls > in /dev/kvm KVM_GET_MSRS") added the some feature flags for > secondary proc-based controls, so that those features can be > available in KVM_GET_MSRS. Yet this commit did not remove the > obsolete comments in nested_vmx_setup_ctls_msrs(). > > [...] Applied to kvm-x86 vmx, thanks! [1/2] KVM: nVMX: Remove outdated comments in nested_vmx_setup_ctls_msrs() https://github.com/kvm-x86/linux/commit/ad36aab37ae4 [2/2] KVM: nVMX: Add helpers to setup VMX control msr configs https://github.com/kvm-x86/linux/commit/f6cde92083de -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes