diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 17:36:39 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-03-11 13:32:02 +0100 |
commit | 0cc3f3ccc9d29acc94b995430518bda1c7c01bef (patch) | |
tree | 5788df85dfd0bf47c60b31f08a90c42bb793cebc /migration-tcp.c | |
parent | 13c7b2da073ec83cb47f9582149c8d28bb038e73 (diff) | |
download | qemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.zip qemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.tar.gz qemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.tar.bz2 |
qemu-file: add writable socket QEMUFile
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration-tcp.c')
-rw-r--r-- | migration-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-tcp.c b/migration-tcp.c index e78a296..7d975b5 100644 --- a/migration-tcp.c +++ b/migration-tcp.c @@ -95,7 +95,7 @@ static void tcp_accept_incoming_migration(void *opaque) goto out; } - f = qemu_fopen_socket(c); + f = qemu_fopen_socket(c, "rb"); if (f == NULL) { fprintf(stderr, "could not qemu_fopen socket\n"); goto out; |