linux_dsm_epyc7002/tools/testing/selftests/kvm/include
Vitaly Kuznetsov 79904c9de0 selftests: kvm: add a selftest for SMM
Add a simple test for SMM, based on VMX.  The test implements its own
sync between the guest and the host as using our ucall library seems to
be too cumbersome: SMI handler is happening in real-address mode.

This patch also fixes KVM_SET_NESTED_STATE to happen after
KVM_SET_VCPU_EVENTS, in fact it places it last.  This is because
KVM needs to know whether the processor is in SMM or not.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2019-04-16 15:38:06 +02:00
..
aarch64 kvm: selftests: add vcpu support for aarch64 2018-10-17 00:26:56 +02:00
x86_64 selftests: kvm: add a selftest for SMM 2019-04-16 15:38:06 +02:00
evmcs.h KVM: selftests: add Enlightened VMCS test 2018-10-17 00:30:21 +02:00
kvm_util.h KVM: selftests: complete IO before migrating guest state 2019-03-28 17:29:09 +01:00
sparsebit.h kvm: selftests: move arch-specific files to arch-specific locations 2018-10-17 00:26:16 +02:00
test_util.h kvm: selftests: move arch-specific files to arch-specific locations 2018-10-17 00:26:16 +02:00