]> 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)
commitc02d1d2f3ad2a274581598629db789ce3755f1a5
tree2737b8c13e10f9aa8bd04e450fb9b04dcc096970
parent027c12f470ff3d3e93ee0113b9e4f478a7201e0f
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]