]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration/qemu-file: don't make incoming fds blocking again
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Wed, 10 Sep 2025 19:31:11 +0000 (22:31 +0300)
committerDaniel P. Berrangé <berrange@redhat.com>
Fri, 19 Sep 2025 11:46:06 +0000 (12:46 +0100)
commit7bc2cbe3306899559c4da1b05e410235d994e22d
tree3ae9d82cdac50e141a2629c679794288fbc17cf6
parente5eacba4a3e6efdae8cda323f9a2ab5cfb1d0492
migration/qemu-file: don't make incoming fds blocking again

In migration we want to pass fd "as is", not changing its
blocking status.

The only current user of these fds is CPR state (through VMSTATE_FD),
which of-course doesn't want to modify fds on target when source is
still running and use these fds.

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
include/io/channel.h
io/channel-socket.c
migration/qemu-file.c