Skip to content

Commit b44f50d

Browse files
vittyvkbonzini
authored andcommitted
KVM: x86: hyper-v: Mention SynDBG CPUID leaves in api.rst
We forgot to update KVM_GET_SUPPORTED_HV_CPUID's documentation in api.rst when SynDBG leaves were added. While on it, fix 'KVM_GET_SUPPORTED_CPUID' copy-paste error. Fixes: f97f5a5 ("x86/kvm/hyper-v: Add support for synthetic debugger interface") Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20200924145757.1035782-2-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 4d710de commit b44f50d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎Documentation/virt/kvm/api.rst‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4498,11 +4498,14 @@ Currently, the following list of CPUID leaves are returned:
44984498
- HYPERV_CPUID_ENLIGHTMENT_INFO
44994499
- HYPERV_CPUID_IMPLEMENT_LIMITS
45004500
- HYPERV_CPUID_NESTED_FEATURES
4501+
- HYPERV_CPUID_SYNDBG_VENDOR_AND_MAX_FUNCTIONS
4502+
- HYPERV_CPUID_SYNDBG_INTERFACE
4503+
- HYPERV_CPUID_SYNDBG_PLATFORM_CAPABILITIES
45014504

45024505
HYPERV_CPUID_NESTED_FEATURES leaf is only exposed when Enlightened VMCS was
45034506
enabled on the corresponding vCPU (KVM_CAP_HYPERV_ENLIGHTENED_VMCS).
45044507

4505-
Userspace invokes KVM_GET_SUPPORTED_CPUID by passing a kvm_cpuid2 structure
4508+
Userspace invokes KVM_GET_SUPPORTED_HV_CPUID by passing a kvm_cpuid2 structure
45064509
with the 'nent' field indicating the number of entries in the variable-size
45074510
array 'entries'. If the number of entries is too low to describe all Hyper-V
45084511
feature leaves, an error (E2BIG) is returned. If the number is more or equal

0 commit comments

Comments
 (0)