diff options
author | Juan Quintela <quintela@redhat.com> | 2023-03-02 01:17:23 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-24 15:01:46 +0200 |
commit | 2682c4eea72c621dfd0fb0151cbd758e81d1bdff (patch) | |
tree | ddfcf28747f889a371e7a2b1750d282b187c9463 /migration/migration.c | |
parent | 24155bd0520035d5148c0af5b925932c4d8064a8 (diff) | |
download | qemu-2682c4eea72c621dfd0fb0151cbd758e81d1bdff.zip qemu-2682c4eea72c621dfd0fb0151cbd758e81d1bdff.tar.gz qemu-2682c4eea72c621dfd0fb0151cbd758e81d1bdff.tar.bz2 |
migration: Move migrate_announce_params() to option.c
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
---
Fix extra whitespace (fabiano)
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/migration/migration.c b/migration/migration.c index 5ab1e48..dccad95 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -954,20 +954,6 @@ MigrationParameters *qmp_query_migrate_parameters(Error **errp) return params; } -AnnounceParameters *migrate_announce_params(void) -{ - static AnnounceParameters ap; - - MigrationState *s = migrate_get_current(); - - ap.initial = s->parameters.announce_initial; - ap.max = s->parameters.announce_max; - ap.rounds = s->parameters.announce_rounds; - ap.step = s->parameters.announce_step; - - return ≈ -} - /* * Return true if we're already in the middle of a migration * (i.e. any of the active or setup states) |