diff options
author | Sean Christopherson <seanjc@google.com> | 2022-11-25 20:58:39 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-11-28 13:33:26 -0500 |
commit | 047c7229906152fb85c23dc18fd25a00cd7cb4de (patch) | |
tree | 3148f374e5c924f1e2f289dd8b3bac324d22a54d /arch/x86/coco/tdx | |
parent | c4690d016182d271a862767145db8b2bc792f4a8 (diff) |
KVM: x86: Update KVM-only leaf handling to allow for 100% KVM-only leafs
Rename kvm_cpu_cap_init_scattered() to kvm_cpu_cap_init_kvm_defined() in
anticipation of adding KVM-only CPUID leafs that aren't recognized by the
kernel and thus not scattered, i.e. for leafs that are 100% KVM-defined.
Adjust/add comments to kvm_only_cpuid_leafs and KVM_X86_FEATURE to
document how to create new kvm_only_cpuid_leafs entries for scattered
features as well as features that are entirely unknown to the kernel.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20221125125845.1182922-3-jiaxi.chen@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/coco/tdx')
0 files changed, 0 insertions, 0 deletions