diff options
author | Zhang Chen | 2019-04-26 11:07:28 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2019-05-14 18:33:35 +0200 |
commit | c0913d1dfd0456a54f412a63c60659b72eb7093b (patch) | |
tree | 8525cb8f881f92a69aa0baea00ab0b43b9d44aff /migration | |
parent | migration: savevm: fix error code with migration blockers (diff) | |
download | qemu-c0913d1dfd0456a54f412a63c60659b72eb7093b.tar.gz qemu-c0913d1dfd0456a54f412a63c60659b72eb7093b.tar.xz qemu-c0913d1dfd0456a54f412a63c60659b72eb7093b.zip |
migration/colo.c: Remove redundant input parameter
The colo_do_failover no need the input parameter.
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Message-Id: <20190426090730.2691-2-chen.zhang@intel.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/colo-failover.c | 2 | ||||
-rw-r--r-- | migration/colo.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/migration/colo-failover.c b/migration/colo-failover.c index 4854a96c92..e9ca0b4774 100644 --- a/migration/colo-failover.c +++ b/migration/colo-failover.c @@ -39,7 +39,7 @@ static void colo_failover_bh(void *opaque) return; } - colo_do_failover(NULL); + colo_do_failover(); } void failover_request_active(Error **errp) diff --git a/migration/colo.c b/migration/colo.c index 238a6d62c7..8c1644091f 100644 --- a/migration/colo.c +++ b/migration/colo.c @@ -193,7 +193,7 @@ COLOMode get_colo_mode(void) } } -void colo_do_failover(MigrationState *s) +void colo_do_failover(void) { /* Make sure VM stopped while failover happened. */ if (!colo_runstate_is_stopped()) { |