KVM: selftests: add Enlightened VMCS test
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 16 Oct 2018 16:50:11 +0000 (18:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:21 +0000 (00:30 +0200)
commit18178ff862170ee4c9fd7450173c6fba9e3c4c3a
tree03f77da9a6741c937f7abb89a28672151b8139b7
parentc939989d74e27f44229a51d8fe96b5c297965bfa
KVM: selftests: add Enlightened VMCS test

Modify test library and add eVMCS test. This includes nVMX save/restore
testing.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/include/evmcs.h [new file with mode: 0644]
tools/testing/selftests/kvm/include/x86_64/vmx.h
tools/testing/selftests/kvm/lib/x86_64/vmx.c
tools/testing/selftests/kvm/x86_64/evmcs_test.c [new file with mode: 0644]