It turns out that the remaining issue in smm_test was in the test itself. Here is the result... Paolo Paolo Bonzini (2): selftests: kvm/evmcs_test: complete I/O before migrating guest state selftests: kvm: fix for compilers that do not support -no-pie Vitaly Kuznetsov (1): selftests: kvm: add a selftest for SMM tools/testing/selftests/kvm/Makefile | 9 +- .../selftests/kvm/include/x86_64/processor.h | 27 ++++ tools/testing/selftests/kvm/lib/kvm_util.c | 5 + tools/testing/selftests/kvm/lib/x86_64/processor.c | 20 ++- tools/testing/selftests/kvm/x86_64/evmcs_test.c | 5 +- tools/testing/selftests/kvm/x86_64/smm_test.c | 157 +++++++++++++++++++++ tools/testing/selftests/kvm/x86_64/state_test.c | 15 +- 7 files changed, 215 insertions(+), 23 deletions(-) create mode 100644 tools/testing/selftests/kvm/x86_64/smm_test.c -- 1.8.3.1