selftests: kvm: add a SVM version of state-test
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 May 2020 17:23:05 +0000 (13:23 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 1 Jun 2020 08:26:04 +0000 (04:26 -0400)
commit10b910cb7edebac478d329244ca479b7962fb46e
treecd88453ac432cd66465cbf6221076d3ca07ba585
parented881297338625f3799cce8774d198ef05a858e6
selftests: kvm: add a SVM version of state-test

The test is similar to the existing one for VMX, but simpler because we
don't have to test shadow VMCS or vmptrld/vmptrst/vmclear.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/x86_64/state_test.c