summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-23 06:15:02 +0200
committerJuan Quintela <quintela@redhat.com>2012-12-20 23:09:25 +0100
commitdd217b8732b93d97c22fa70dc15a72d92a2b2380 (patch)
tree11a8aed85b6e5bb87e45b1196c8fcf2923bca7e8 /savevm.c
parent766bd1769e70835e0cc25f3f057f101619494b59 (diff)
downloadqemu-dd217b8732b93d97c22fa70dc15a72d92a2b2380.tar.gz
qemu-dd217b8732b93d97c22fa70dc15a72d92a2b2380.tar.bz2
qemu-dd217b8732b93d97c22fa70dc15a72d92a2b2380.zip
migration: make writes blocking
Move all the writes to the migration_thread, and make writings blocking. Notice that are still using the iothread for everything that we do. Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/savevm.c b/savevm.c
index b2a844f2b1..c93d0b4fde 100644
--- a/savevm.c
+++ b/savevm.c
@@ -555,11 +555,6 @@ int qemu_fclose(QEMUFile *f)
return ret;
}
-int qemu_file_put_notify(QEMUFile *f)
-{
- return f->ops->put_buffer(f->opaque, NULL, 0, 0);
-}
-
void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size)
{
int l;