diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 17:36:47 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-03-11 13:32:03 +0100 |
commit | b352365f5abec075dede0222f1bc37674d64117c (patch) | |
tree | 89670a886c98d1bb2564cdbc40eadbc686e2b8c4 /migration-fd.c | |
parent | 404a7c05bcc20c51fe1a9bf2deaeb4d6b658d3a3 (diff) | |
download | qemu-b352365f5abec075dede0222f1bc37674d64117c.zip qemu-b352365f5abec075dede0222f1bc37674d64117c.tar.gz qemu-b352365f5abec075dede0222f1bc37674d64117c.tar.bz2 |
migration: eliminate s->migration_file
The indirection is useless now. Backends can open s->file directly.
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 'migration-fd.c')
-rw-r--r-- | migration-fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-fd.c b/migration-fd.c index 07c758a..3d4613c 100644 --- a/migration-fd.c +++ b/migration-fd.c @@ -36,7 +36,7 @@ void fd_start_outgoing_migration(MigrationState *s, const char *fdname, Error ** if (fd == -1) { return; } - s->migration_file = qemu_fdopen(fd, "wb"); + s->file = qemu_fdopen(fd, "wb"); migrate_fd_connect(s); } |