summaryrefslogtreecommitdiffstats
path: root/include/migration
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-22 17:36:29 +0100
committerJuan Quintela <quintela@redhat.com>2013-03-11 13:32:02 +0100
commitedaae611f6df0d66a8b5a90c84123b72980c7a22 (patch)
tree8beadf62d62154d239ade72788695b46469d23b2 /include/migration
parent9b0950375277467fd74a9075624477ae43b9bb22 (diff)
downloadhqemu-edaae611f6df0d66a8b5a90c84123b72980c7a22.zip
hqemu-edaae611f6df0d66a8b5a90c84123b72980c7a22.tar.gz
migration: yay, buffering is gone
Buffering was needed because blocking writes could take a long time and starve other threads seeking to grab the big QEMU mutex. Now that all writes (except within _complete callbacks) are done outside the big QEMU mutex, we do not need buffering at all. 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/migration.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index ed20bed..cec8643 100644
--- a/include/migration/migration.h
+++ b/include/migration/migration.h
@@ -34,9 +34,6 @@ struct MigrationState
int64_t bandwidth_limit;
size_t bytes_xfer;
size_t xfer_limit;
- uint8_t *buffer;
- size_t buffer_size;
- size_t buffer_capacity;
QemuThread thread;
QEMUBH *cleanup_bh;
OpenPOWER on IntegriCloud