aboutsummaryrefslogtreecommitdiff
path: root/buffered_file.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-23 02:13:23 +0200
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:25 +0100
commitedfa1af52f4c69264c5a0c38da10eb372077fba3 (patch)
treef3c770ea2f0c4cd060a3b1e6a85a2927fb8d2f3f /buffered_file.h
parentc09f4cb2b3243085a86aee3c7ed4f31c77e4db87 (diff)
migration: make qemu_fopen_ops_buffered() return void
We want the file assignment to happen before the thread is created to avoid locking, so we just do it before creating the thread. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Diffstat (limited to 'buffered_file.h')
-rw-r--r--buffered_file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/buffered_file.h b/buffered_file.h
index 86a7075246..d278f3d951 100644
--- a/buffered_file.h
+++ b/buffered_file.h
@@ -17,6 +17,6 @@
#include "hw/hw.h"
#include "migration/migration.h"
-QEMUFile *qemu_fopen_ops_buffered(MigrationState *migration_state);
+void qemu_fopen_ops_buffered(MigrationState *migration_state);
#endif