Home
last modified time | relevance | path

Searched refs:src_vm (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dsev_migrate_tests.c99 struct kvm_vm *src_vm; in test_sev_migrate_from() local
103 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() local
274 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()
/openbmc/qemu/tests/avocado/
H A Dmigration.py35 def assert_migration(self, src_vm, dst_vm): argument
39 args=(src_vm,))
44 self.assertEqual(src_vm.cmd('query-migrate')['status'], 'completed')
47 self.assertEqual(src_vm.cmd('query-status')['status'],'postmigrate')