diff options
Diffstat (limited to 'savevm.c')
-rw-r--r-- | savevm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -400,6 +400,7 @@ QEMUFile *qemu_fopen_socket(int fd, const char *mode) s->fd = fd; if (mode[0] == 'w') { + socket_set_block(s->fd); s->file = qemu_fopen_ops(s, &socket_write_ops); } else { s->file = qemu_fopen_ops(s, &socket_read_ops); |