I think we are still missing the kvm_vm_free() from test_sev_migrate_locking(). Should we have this at the end? for (i = 0; i < NR_LOCK_TESTING_THREADS; ++i) kvm_vm_free(input[i].vm);