diff options
author | Juan Quintela <quintela@redhat.com> | 2010-05-11 15:51:36 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2011-10-20 13:23:53 +0200 |
commit | 3f77fc557e3e1cb8aab72ca0ca91aac67d478118 (patch) | |
tree | 3ad36995007cdef23b77c790b19135c915a8f54d /migration-exec.c | |
parent | dc7acc61b67a49ce56f6a7c93692f72a3fe0759f (diff) | |
download | qemu-3f77fc557e3e1cb8aab72ca0ca91aac67d478118.zip qemu-3f77fc557e3e1cb8aab72ca0ca91aac67d478118.tar.gz qemu-3f77fc557e3e1cb8aab72ca0ca91aac67d478118.tar.bz2 |
migration: Fold MigrationState into FdMigrationState
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'migration-exec.c')
-rw-r--r-- | migration-exec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/migration-exec.c b/migration-exec.c index 759aa79..39fd416 100644 --- a/migration-exec.c +++ b/migration-exec.c @@ -92,12 +92,12 @@ FdMigrationState *exec_start_outgoing_migration(Monitor *mon, s->close = exec_close; s->get_error = file_errno; s->write = file_write; - s->mig_state.cancel = migrate_fd_cancel; - s->mig_state.get_status = migrate_fd_get_status; - s->mig_state.release = migrate_fd_release; + s->cancel = migrate_fd_cancel; + s->get_status = migrate_fd_get_status; + s->release = migrate_fd_release; - s->mig_state.blk = blk; - s->mig_state.shared = inc; + s->blk = blk; + s->shared = inc; s->state = MIG_STATE_ACTIVE; s->mon = NULL; |