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>
This commit is contained in:
Juan Quintela 2012-07-23 06:15:02 +02:00
parent 766bd1769e
commit dd217b8732
7 changed files with 2 additions and 29 deletions

View file

@ -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;