On Fri, Aug 11, 2023 at 12:08:30PM -0300, Fabiano Rosas wrote: > It's not safe to call qemu_file_shutdown() on the to_dst_file without > first checking for the file's presence under the lock. The cleanup of > this file happens at postcopy_pause() and migrate_fd_cleanup() which > are not necessarily running in the same thread as migrate_fd_cancel(). > > Signed-off-by: Fabiano Rosas <faro...@suse.de>
Reviewed-by: Peter Xu <pet...@redhat.com> -- Peter Xu