Searched refs:src_vm (Results 1 – 2 of 2) sorted by relevance
99 struct kvm_vm *src_vm; in test_sev_migrate_from() local103 src_vm = sev_vm_create(es); in test_sev_migrate_from()108 sev_migrate_from(dst_vms[0], src_vm); in test_sev_migrate_from()114 ret = __sev_migrate_from(src_vm, dst_vms[NR_MIGRATE_TEST_VMS - 1]); in test_sev_migrate_from()119 kvm_vm_free(src_vm); in test_sev_migrate_from()271 struct kvm_vm *src_vm, *dst_vm; in test_sev_mirror() local274 src_vm = sev_vm_create(es); in test_sev_mirror()277 sev_mirror_create(dst_vm, src_vm); in test_sev_mirror()288 kvm_vm_free(src_vm); in test_sev_mirror()
35 def assert_migration(self, src_vm, dst_vm): argument39 args=(src_vm,))44 self.assertEqual(src_vm.cmd('query-migrate')['status'], 'completed')47 self.assertEqual(src_vm.cmd('query-status')['status'],'postmigrate')