Lines Matching +full:migration +full:- +full:test

4  * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates
5 * based on the vhost-user-test.c that is:
9 * See the COPYING file in the top-level directory.
15 #include "migration/framework.h"
16 #include "migration/migration-qmp.h"
17 #include "migration/migration-util.h"
24 migrate_set_parameter_str(from, "mode", "cpr-reboot"); in migrate_hook_start_mode_reboot()
25 migrate_set_parameter_str(to, "mode", "cpr-reboot"); in migrate_hook_start_mode_reboot()
49 migrate_set_parameter_str(from, "mode", "cpr-transfer"); in test_mode_transfer_start()
54 * cpr-transfer mode cannot use the target monitor prior to starting the
55 * migration, and cannot connect synchronously to the monitor, so defer
65 const char *opts = "-machine aux-ram-share=on -nodefaults"; in test_mode_transfer_common()
71 "[ { 'channel-type': 'main'," in test_mode_transfer_common()
85 opts_target = g_strdup_printf("-incoming cpr,addr.transport=socket," in test_mode_transfer_common()
92 .start.memory_backend = "-object memory-backend-memfd,id=pc.ram,size=%s" in test_mode_transfer_common()
93 " -machine memory-backend=pc.ram", in test_mode_transfer_common()
115 tmpfs = env->tmpfs; in migration_test_add_cpr()
119 if (!env->full_set) { in migration_test_add_cpr()
125 * Don't run this test until we find a workaround. in migration_test_add_cpr()
128 migration_test_add("/migration/mode/reboot", test_mode_reboot); in migration_test_add_cpr()
131 if (env->has_kvm) { in migration_test_add_cpr()
132 migration_test_add("/migration/mode/transfer", test_mode_transfer); in migration_test_add_cpr()
133 migration_test_add("/migration/mode/transfer/defer", in migration_test_add_cpr()