diff options
author | Laurent Vivier <lvivier@redhat.com> | 2021-09-29 16:43:10 +0200 |
---|---|---|
committer | Juan Quintela <quintela@trasno.org> | 2021-11-03 09:38:53 +0100 |
commit | 458fecca80963b4c2c2164889d817542d2cece4f (patch) | |
tree | 0160e8b19e85842063eeb930216d516cecd08560 /migration/migration.h | |
parent | 741bdeb1d5a4024a2c54c6abb2de493a27b61953 (diff) |
migration: provide an error message to migration_cancel()
This avoids to call migrate_get_current() in the caller function
whereas migration_cancel() already needs the pointer to the current
migration state.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.h')
-rw-r--r-- | migration/migration.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.h b/migration/migration.h index 7a5aa8c2fd..8130b703eb 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -388,7 +388,7 @@ int foreach_not_ignored_block(RAMBlockIterFunc func, void *opaque); void migration_make_urgent_request(void); void migration_consume_urgent_request(void); bool migration_rate_limit(void); -void migration_cancel(void); +void migration_cancel(const Error *error); void populate_vfio_info(MigrationInfo *info); |