aboutsummaryrefslogtreecommitdiff
path: root/migration-exec.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-exec.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-exec.c')
-rw-r--r--migration-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/migration-exec.c b/migration-exec.c
index 1c539de931..deab4e378e 100644
--- a/migration-exec.c
+++ b/migration-exec.c
@@ -35,8 +35,8 @@
void exec_start_outgoing_migration(MigrationState *s, const char *command, Error **errp)
{
- s->migration_file = qemu_popen_cmd(command, "w");
- if (s->migration_file == NULL) {
+ s->file = qemu_popen_cmd(command, "w");
+ if (s->file == NULL) {
error_setg_errno(errp, errno, "failed to popen the migration target");
return;
}