]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: selftests: Introduce hyperv_features test
authorVitaly Kuznetsov <vkuznets@redhat.com>
Fri, 21 May 2021 09:52:04 +0000 (11:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Jun 2021 17:09:46 +0000 (13:09 -0400)
commite2e1cc1fbe54a9520956a4539a3676d2ebf122dd
tree8cfc6bf84f909f490154a2efb07eedacf1e48131
parentd504df3c913bb91dda41fffaebbb5bfd6d8c4b07
KVM: selftests: Introduce hyperv_features test

The initial implementation of the test only tests that access to Hyper-V
MSRs and hypercalls is in compliance with guest visible CPUID feature bits.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20210521095204.2161214-31-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/.gitignore
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/x86_64/hyperv.h
tools/testing/selftests/kvm/x86_64/hyperv_features.c [new file with mode: 0644]