KVM: selftests: add tests for shadow VMCS save/restore
authorPaolo Bonzini <pbonzini@redhat.com>
Sat, 28 Jul 2018 22:14:11 +0000 (00:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 6 Aug 2018 15:58:44 +0000 (17:58 +0200)
commit9a78bdf31da79a2a58585474598afcf44b14b245
tree02c165b491b7c0b4a0a0027b18773e8a0fa9f161
parentfa58a9fa74979f845fc6c94a58501e67f3abb6de
KVM: selftests: add tests for shadow VMCS save/restore

This includes setting up the shadow VMCS and the secondary execution
controls in lib/vmx.c.

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