aboutsummaryrefslogtreecommitdiff
path: root/migration-fd.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-22 17:36:47 +0100
committerJuan Quintela <quintela@redhat.com>2013-03-11 13:32:03 +0100
commitb352365f5abec075dede0222f1bc37674d64117c (patch)
tree89670a886c98d1bb2564cdbc40eadbc686e2b8c4 /migration-fd.c
parent404a7c05bcc20c51fe1a9bf2deaeb4d6b658d3a3 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration-fd.c b/migration-fd.c
index 07c758ab6b..3d4613cbaf 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);
}