diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-20 22:25:28 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:39 +0200 |
commit | 5727309d254b4942645888574a16d36942ec439c (patch) | |
tree | 9a09abab8e668ca62d67ffbf11289b1799a2e958 /include | |
parent | 6d358d94943076846328cc292e4f45c31e1d5d96 (diff) |
migration: Remove MigrationState from migration_in_postcopy
We need to call for the migrate_get_current() in more that half of the
uses, so call that inside.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/migration/migration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index 357eaa0786..2cd20077ac 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -238,7 +238,7 @@ bool migration_is_idle(MigrationState *s); bool migration_has_finished(MigrationState *); bool migration_has_failed(MigrationState *); /* True if outgoing migration has entered postcopy phase */ -bool migration_in_postcopy(MigrationState *); +bool migration_in_postcopy(void); /* ...and after the device transmission */ bool migration_in_postcopy_after_devices(MigrationState *); MigrationState *migrate_get_current(void); |