linux_dsm_epyc7002/tools/testing/selftests/kvm
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
..
include selftests: kvm: add a selftest for SMM 2019-04-16 15:38:06 +02:00
lib selftests: kvm: add a selftest for SMM 2019-04-16 15:38:06 +02:00
x86_64 selftests: kvm: add a selftest for SMM 2019-04-16 15:38:06 +02:00
.gitignore selftests: kvm: add selftest for releasing VM file descriptor while in L2 2019-02-12 13:12:12 +01:00
clear_dirty_log_test.c kvm: introduce manual dirty log reprotect 2018-12-14 12:34:19 +01:00
dirty_log_test.c kvm: selftests: aarch64: dirty_log_test: support greater than 40-bit IPAs 2018-12-21 11:28:30 +01:00
Makefile selftests: kvm: add a selftest for SMM 2019-04-16 15:38:06 +02:00