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-unix.c | |
parent | 13c7b2da073ec83cb47f9582149c8d28bb038e73 (diff) |
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-unix.c')
-rw-r--r-- | migration-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-unix.c b/migration-unix.c index 218835a7a4..4693b43d90 100644 --- a/migration-unix.c +++ b/migration-unix.c @@ -95,7 +95,7 @@ static void unix_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; |