mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 21:03:54 -06:00
migration: make writes blocking
Move all the writes to the migration_thread, and make writings blocking. Notice that are still using the iothread for everything that we do. Signed-off-by: Juan Quintela <quintela@redhat.com>
This commit is contained in:
parent
766bd1769e
commit
dd217b8732
7 changed files with 2 additions and 29 deletions
|
@ -69,7 +69,6 @@ void exec_start_outgoing_migration(MigrationState *s, const char *command, Error
|
|||
|
||||
s->fd = fileno(f);
|
||||
assert(s->fd != -1);
|
||||
socket_set_nonblock(s->fd);
|
||||
|
||||
s->opaque = qemu_popen(f, "w");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue