diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2024-02-28 11:18:35 +0100 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-03-06 09:50:15 -0800 |
commit | 92e82cf632e85474e1e19a6f1cae813e87b07965 (patch) | |
tree | 5a0a71c3c1e8e91e36c41acdcfedb0efeb001c79 /lib/debugobjects.c | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) |
KVM: x86: Introduce __kvm_get_hypervisor_cpuid() helper
Similar to kvm_find_kvm_cpuid_features()/__kvm_find_kvm_cpuid_features(),
introduce a helper to search for the specific hypervisor signature in any
struct kvm_cpuid_entry2 array, not only in vcpu->arch.cpuid_entries.
No functional change intended.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20240228101837.93642-2-vkuznets@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions