Lines Matching refs:MigrationState
99 static MigrationState *current_migration;
104 static bool migration_object_check(MigrationState *ms, Error **errp);
105 static int migration_maybe_pause(MigrationState *s,
108 static void migrate_fd_cancel(MigrationState *s);
109 static bool close_return_path_on_source(MigrationState *s);
110 static void migration_completion_end(MigrationState *s);
112 static void migration_downtime_start(MigrationState *s) in migration_downtime_start()
118 static void migration_downtime_end(MigrationState *s) in migration_downtime_end()
216 static int migration_stop_vm(MigrationState *s, RunState state) in migration_stop_vm()
276 MigrationState *s = migrate_get_current(); in migration_bh_dispatch_bh()
292 MigrationState *s = migrate_get_current(); in migration_bh_schedule()
350 MigrationState *migrate_get_current(void) in migrate_get_current()
786 MigrationState *s = migrate_get_current(); in process_incoming_migration_co()
1119 MigrationState *s = current_migration; in migration_is_setup_or_active()
1142 MigrationState *s = current_migration; in migration_is_running()
1163 static bool migrate_show_downtime(MigrationState *s) in migrate_show_downtime()
1168 static void populate_time_info(MigrationInfo *info, MigrationState *s) in populate_time_info()
1192 static void populate_ram_info(MigrationInfo *info, MigrationState *s) in populate_ram_info()
1250 MigrationState *s = migrate_get_current(); in fill_source_migration_info()
1352 MigrationState *s = migrate_get_current(); in fill_destination_migration_info()
1373 MigrationState *s = migrate_get_current(); in qmp_migrate_start_postcopy()
1405 static void migrate_fd_cleanup(MigrationState *s) in migrate_fd_cleanup()
1464 void migrate_set_error(MigrationState *s, const Error *error) in migrate_set_error()
1475 bool migrate_has_error(MigrationState *s) in migrate_has_error()
1482 static void migrate_error_free(MigrationState *s) in migrate_error_free()
1491 static void migrate_fd_error(MigrationState *s, const Error *error) in migrate_fd_error()
1520 static void migrate_fd_cancel(MigrationState *s) in migrate_fd_cancel()
1590 int migration_call_notifiers(MigrationState *s, MigrationEventType type, in migration_call_notifiers()
1604 bool migration_has_failed(MigrationState *s) in migration_has_failed()
1612 MigrationState *s = migrate_get_current(); in migration_in_postcopy()
1658 MigrationState *s = current_migration; in migration_is_idle()
1677 MigrationState *s = current_migration; in migration_is_active()
1685 MigrationState *s = current_migration; in migration_is_device()
1692 MigrationState *s = current_migration; in migration_thread_is_self()
1697 bool migrate_mode_is_cpr(MigrationState *s) in migrate_mode_is_cpr()
1702 int migrate_init(MigrationState *s, Error **errp) in migrate_init()
1918 MigrationState *ms = migrate_get_current(); in qmp_migrate_pause()
1978 static bool migrate_prepare(MigrationState *s, bool resume, Error **errp) in migrate_prepare()
2080 MigrationState *s = migrate_get_current(); in qmp_migrate()
2167 MigrationState *s = migrate_get_current(); in qmp_migrate_continue()
2176 int migration_rp_wait(MigrationState *s) in migration_rp_wait()
2193 void migration_rp_kick(MigrationState *s) in migration_rp_kick()
2219 migrate_handle_rp_req_pages(MigrationState *ms, const char* rbname, in migrate_handle_rp_req_pages()
2240 static bool migrate_handle_rp_recv_bitmap(MigrationState *s, char *block_name, in migrate_handle_rp_recv_bitmap()
2255 static bool migrate_handle_rp_resume_ack(MigrationState *s, in migrate_handle_rp_resume_ack()
2279 static void migration_release_dst_files(MigrationState *ms) in migration_release_dst_files()
2313 MigrationState *ms = opaque; in source_return_path_thread()
2472 static int open_return_path_on_source(MigrationState *ms) in open_return_path_on_source()
2491 static bool close_return_path_on_source(MigrationState *ms) in close_return_path_on_source()
2521 migration_wait_main_channel(MigrationState *ms) in migration_wait_main_channel()
2531 static int postcopy_start(MigrationState *ms, Error **errp) in postcopy_start()
2716 static int migration_maybe_pause(MigrationState *s, in migration_maybe_pause()
2754 static int migration_completion_precopy(MigrationState *s, in migration_completion_precopy()
2787 static void migration_completion_postcopy(MigrationState *s) in migration_completion_postcopy()
2806 static void migration_completion_failed(MigrationState *s, in migration_completion_failed()
2837 static void migration_completion(MigrationState *s) in migration_completion()
2893 static void bg_migration_completion(MigrationState *s) in bg_migration_completion()
2932 static int postcopy_resume_handshake(MigrationState *s) in postcopy_resume_handshake()
2950 static int postcopy_do_resume(MigrationState *s) in postcopy_do_resume()
2997 static MigThrError postcopy_pause(MigrationState *s) in postcopy_pause()
3069 MigrationState *s = current_migration; in migration_file_set_error()
3080 static MigThrError migration_detect_error(MigrationState *s) in migration_detect_error()
3130 static void migration_completion_end(MigrationState *s) in migration_completion_end()
3154 static void update_iteration_initial_status(MigrationState *s) in update_iteration_initial_status()
3165 static void migration_update_counters(MigrationState *s, in migration_update_counters()
3226 static bool migration_can_switchover(MigrationState *s) in migration_can_switchover()
3251 static MigIterateState migration_iteration_run(MigrationState *s) in migration_iteration_run()
3289 static void migration_iteration_finish(MigrationState *s) in migration_iteration_finish()
3328 static void bg_migration_iteration_finish(MigrationState *s) in bg_migration_iteration_finish()
3360 static MigIterateState bg_migration_iteration_run(MigrationState *s) in bg_migration_iteration_run()
3387 MigrationState *s = migrate_get_current(); in migration_rate_limit()
3423 static void qemu_savevm_wait_unplug(MigrationState *s, int old_state, in qemu_savevm_wait_unplug()
3462 MigrationState *s = opaque; in migration_thread()
3575 MigrationState *s = opaque; in bg_migration_vm_start_bh()
3598 MigrationState *s = opaque; in bg_migration_thread()
3734 void migrate_fd_connect(MigrationState *s, Error *error_in) in migrate_fd_connect()
3846 MigrationState *ms = MIGRATION_OBJ(obj); in migration_instance_finalize()
3862 MigrationState *ms = MIGRATION_OBJ(obj); in migration_instance_init()
3885 static bool migration_object_check(MigrationState *ms, Error **errp) in migration_object_check()
3910 .instance_size = sizeof(MigrationState),