summaryrefslogtreecommitdiff
path: root/include/migration
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-22 17:36:39 +0100
committerJuan Quintela <quintela@redhat.com>2013-03-11 13:32:02 +0100
commit0cc3f3ccc9d29acc94b995430518bda1c7c01bef (patch)
tree5788df85dfd0bf47c60b31f08a90c42bb793cebc /include/migration
parent13c7b2da073ec83cb47f9582149c8d28bb038e73 (diff)
downloadqemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.tar.gz
qemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.tar.bz2
qemu-0cc3f3ccc9d29acc94b995430518bda1c7c01bef.zip
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 'include/migration')
-rw-r--r--include/migration/qemu-file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h
index 987e719173..25e84613fa 100644
--- a/include/migration/qemu-file.h
+++ b/include/migration/qemu-file.h
@@ -76,7 +76,7 @@ typedef struct QEMUFileOps {
QEMUFile *qemu_fopen_ops(void *opaque, const QEMUFileOps *ops);
QEMUFile *qemu_fopen(const char *filename, const char *mode);
QEMUFile *qemu_fdopen(int fd, const char *mode);
-QEMUFile *qemu_fopen_socket(int fd);
+QEMUFile *qemu_fopen_socket(int fd, const char *mode);
QEMUFile *qemu_popen_cmd(const char *command, const char *mode);
int qemu_get_fd(QEMUFile *f);
int qemu_fclose(QEMUFile *f);