]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: KVM: AMD Nested test infrastructure
authorEric Auger <eric.auger@redhat.com>
Thu, 6 Feb 2020 10:47:09 +0000 (11:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2020 19:09:39 +0000 (20:09 +0100)
commit2a43afbda49f3ab28d14c7d0a51fdb6ceda87d32
treec8dbce7a011f4c83765bbe2b20de83a2359f94aa
parentb169b1c8dcaa680742c84d81ff7d961db1a8a06a
selftests: KVM: AMD Nested test infrastructure

Add the basic infrastructure needed to test AMD nested SVM.
This is largely copied from the KVM unit test infrastructure.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/x86_64/processor.h
tools/testing/selftests/kvm/include/x86_64/svm.h [new file with mode: 0644]
tools/testing/selftests/kvm/include/x86_64/svm_util.h [new file with mode: 0644]
tools/testing/selftests/kvm/lib/x86_64/svm.c [new file with mode: 0644]