mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
migration: set error if select return one error
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
@@ -453,6 +453,10 @@ void migrate_fd_wait_for_unfreeze(void *opaque)
|
||||
|
||||
ret = select(s->fd + 1, NULL, &wfds, NULL, NULL);
|
||||
} while (ret == -1 && (s->get_error(s)) == EINTR);
|
||||
|
||||
if (ret == -1) {
|
||||
qemu_file_set_error(s->file);
|
||||
}
|
||||
}
|
||||
|
||||
int migrate_fd_close(void *opaque)
|
||||
|
||||
Reference in New Issue
Block a user