-
Fabiano Rosas authored
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(). Reviewed-by:
Peter Xu <peterx@redhat.com>
Signed-off-by:
Fabiano Rosas <farosas@suse.de>
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230918172822.19052-5-farosas@suse.de>Fabiano Rosas authoredIt'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(). Reviewed-by:
Peter Xu <peterx@redhat.com>
Signed-off-by:
Fabiano Rosas <farosas@suse.de>
Signed-off-by:
Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230918172822.19052-5-farosas@suse.de>
Loading