Skip to contentSkip to conversation

selftest: KVM: Add intra host migration

PATCH In review Peter Gonda 1 participant 1 message Aug 30, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v6 3/3 selftest: KVM: Add intra host migration

Adds testcases for intra host migration for SEV and SEV-ES. Also adds locking test to confirm no deadlock exists.

---
 tools/testing/selftests/kvm/Makefile          |   1 +
 .../selftests/kvm/x86_64/sev_vm_tests.c       | 152 ++++++++++++++++++
 2 files changed, 153 insertions(+)
 create mode 100644 tools/testing/selftests/kvm/x86_64/sev_vm_tests.c
tools/testing/selftests/kvm/Makefile +1 -0
index 5832f510a16c..de6e64d5c9c4 100644
@@ -71,6 +71,7 @@ TEST_GEN_PROGS_x86_64 += x86_64/tsc_msrs_test
 TEST_GEN_PROGS_x86_64 += x86_64/vmx_pmu_msrs_test
 TEST_GEN_PROGS_x86_64 += x86_64/xen_shinfo_test
 TEST_GEN_PROGS_x86_64 += x86_64/xen_vmcall_test
+TEST_GEN_PROGS_x86_64 += x86_64/sev_vm_tests
 TEST_GEN_PROGS_x86_64 += access_tracking_perf_test
 TEST_GEN_PROGS_x86_64 += demand_paging_test
 TEST_GEN_PROGS_x86_64 += dirty_log_test
tools/testing/selftests/kvm/x86_64/sev_vm_tests.c new file +150 -0

150 lines not on this page · raw message

Signature · 1 line
2.33.0.259.gc128427fd7-goog