Commit af509450 authored by Juan Quintela's avatar Juan Quintela

migration: set error if select return one error

Signed-off-by: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent fdbecb5d
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment