OSDN Git Service

KVM: selftests: update hyperv_cpuid with SynDBG tests
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 29 May 2020 13:45:43 +0000 (16:45 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:12 +0000 (04:26 -0400)
commitfb0cb6a8211cfe00178614ae72a0b426bd1ff016
treeb50bba95533001e8f41e5bb5c536e222ab474f79
parentb187038b5e3f8404dbafce89fd169e66fe604df4
KVM: selftests: update hyperv_cpuid with SynDBG tests

Update tests to reflect new CPUID capabilities with SYNDBG.
Check that we get the right number of entries and that
0x40000000.EAX always returns the correct max leaf.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Jon Doron <arilou@gmail.com>
Message-Id: <20200529134543.1127440-7-arilou@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c