Lines Matching refs:to_dst_file
1412 tmp = s->to_dst_file; in migrate_fd_cleanup()
1413 s->to_dst_file = NULL; in migrate_fd_cleanup()
1481 assert(s->to_dst_file == NULL); in migrate_fd_error()
1537 if (s->to_dst_file) { in migrate_fd_cancel()
1538 qemu_file_shutdown(s->to_dst_file); in migrate_fd_cancel()
1681 s->to_dst_file = NULL; in migrate_init()
1897 if (ms->to_dst_file) { in qmp_migrate_pause()
1898 ret = qemu_file_shutdown(ms->to_dst_file); in qmp_migrate_pause()
2439 ms->rp_state.from_dst_file = qemu_file_get_return_path(ms->to_dst_file); in open_return_path_on_source()
2550 qemu_savevm_state_complete_precopy(ms->to_dst_file, true, false); in postcopy_start()
2570 qemu_savevm_send_ping(ms->to_dst_file, 2); in postcopy_start()
2608 ret = qemu_file_get_error(ms->to_dst_file); in postcopy_start()
2617 if (qemu_savevm_send_packaged(ms->to_dst_file, bioc->data, bioc->usage)) { in postcopy_start()
2638 qemu_savevm_send_ping(ms->to_dst_file, 4); in postcopy_start()
2645 ret = qemu_file_get_error(ms->to_dst_file); in postcopy_start()
2745 ret = qemu_savevm_state_complete_precopy(s->to_dst_file, false, in migration_completion_precopy()
2757 qemu_savevm_state_complete_postcopy(s->to_dst_file); in migration_completion_postcopy()
2824 if (qemu_file_get_error(s->to_dst_file)) { in migration_completion()
2840 if (qemu_file_get_error_obj(s->to_dst_file, &local_err)) { in migration_completion()
2869 qemu_put_buffer(s->to_dst_file, s->bioc->data, s->bioc->usage); in bg_migration_completion()
2870 qemu_fflush(s->to_dst_file); in bg_migration_completion()
2875 if (qemu_file_get_error(s->to_dst_file)) { in bg_migration_completion()
2899 qemu_savevm_send_postcopy_resume(s->to_dst_file); in postcopy_resume_handshake()
2985 assert(s->to_dst_file); in postcopy_pause()
2986 migration_ioc_unregister_yank_from_file(s->to_dst_file); in postcopy_pause()
2988 file = s->to_dst_file; in postcopy_pause()
2989 s->to_dst_file = NULL; in postcopy_pause()
3037 if (s->to_dst_file) { in migration_file_set_error()
3038 qemu_file_set_error_obj(s->to_dst_file, ret, err); in migration_file_set_error()
3061 ret = qemu_file_get_error_obj_any(s->to_dst_file, in migration_detect_error()
3250 qemu_savevm_state_iterate(s->to_dst_file, in_postcopy); in migration_iteration_run()
3336 res = qemu_savevm_state_iterate(s->to_dst_file, false); in bg_migration_iteration_run()
3363 if (migration_rate_exceeded(s->to_dst_file)) { in migration_rate_limit()
3365 if (qemu_file_get_error(s->to_dst_file)) { in migration_rate_limit()
3454 qemu_savevm_state_header(s->to_dst_file); in migration_thread()
3463 qemu_savevm_send_open_return_path(s->to_dst_file); in migration_thread()
3466 qemu_savevm_send_ping(s->to_dst_file, 1); in migration_thread()
3475 qemu_savevm_send_postcopy_advise(s->to_dst_file); in migration_thread()
3480 qemu_savevm_send_colo_enable(s->to_dst_file); in migration_thread()
3489 ret = qemu_savevm_state_setup(s->to_dst_file, &local_err); in migration_thread()
3512 if (urgent || !migration_rate_exceeded(s->to_dst_file)) { in migration_thread()
3613 qemu_savevm_state_header(s->to_dst_file); in bg_migration_thread()
3614 ret = qemu_savevm_state_setup(s->to_dst_file, &local_err); in bg_migration_thread()
3756 qemu_file_set_blocking(s->to_dst_file, true); in migrate_fd_connect()