OSDN Git Service

selftests: KVM: SVM: Add vmcall test
authorEric Auger <eric.auger@redhat.com>
Thu, 6 Feb 2020 10:47:10 +0000 (11:47 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Feb 2020 19:09:39 +0000 (20:09 +0100)
commit1ea2cc0cd7c676668841f63c915fb55244f0268c
tree2737b8c13e10f9aa8bd04e450fb9b04dcc096970
parent20ba262f8631aadefa87921481fe569ecc387f20
selftests: KVM: SVM: Add vmcall test

L2 guest calls vmcall and L1 checks the exit status does
correspond.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
Tested-by: Wei Huang <wei.huang2@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/x86_64/svm_vmcall_test.c [new file with mode: 0644]