diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 17:36:42 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-03-11 13:32:02 +0100 |
commit | e6a1cf21328802f3a83e84e893b8cb8a468141cc (patch) | |
tree | 57ca206cbfe0dd6640a9a5f585692016c6182b11 /include | |
parent | f8bbc1286337a8506162b5785babe6f2a7de2476 (diff) |
migration: use QEMUFile for writing outgoing migration data
Second, drop the file descriptor indirection, and write directly to the
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')
-rw-r--r-- | include/migration/migration.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index 1f8f305ac9..ae94706bdf 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -40,10 +40,6 @@ struct MigrationState QEMUFile *file; QEMUFile *migration_file; - int fd; - int (*get_error)(MigrationState *s); - int (*write)(MigrationState *s, const void *buff, size_t size); - int state; MigrationParams params; int64_t total_time; |