selftest: KVM: Add intra host migration
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
Signed-off-by Peter Gonda <[email protected]>
Suggested-by Sean Christopherson <[email protected]>
Cc Marc Orr <[email protected]>
Cc Sean Christopherson <[email protected]>
Cc Brijesh Singh <[email protected]>
tools/testing/selftests/kvm/Makefile +1 -0
@@ -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