projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbecb5
)
migration: set error if select return one error
author
Juan Quintela
<quintela@redhat.com>
Wed, 21 Sep 2011 20:46:36 +0000
(22:46 +0200)
committer
Juan Quintela
<quintela@redhat.com>
Thu, 20 Oct 2011 11:23:51 +0000
(13:23 +0200)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
migration.c
patch
|
blob
|
history
diff --git
a/migration.c
b/migration.c
index 260e5b5fc1fb22183b6d21ebb0a0c8c3bd7da141..a682168688aef984b6cd54e2e84652b52b44e489 100644
(file)
--- a/
migration.c
+++ b/
migration.c
@@
-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)