]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5deb081d060f16ba562a57c3b4d3da2996e9556c
tree2737b8c13e10f9aa8bd04e450fb9b04dcc096970
parent2a43afbda49f3ab28d14c7d0a51fdb6ceda87d32
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]