qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

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>

authored by

Zhang Chen and committed by
Dr. David Alan Gilbert
c0913d1d aded9dfa

+3 -3
+1 -1
include/migration/colo.h
··· 37 37 COLOMode get_colo_mode(void); 38 38 39 39 /* failover */ 40 - void colo_do_failover(MigrationState *s); 40 + void colo_do_failover(void); 41 41 42 42 void colo_checkpoint_notify(void *opaque); 43 43 #endif
+1 -1
migration/colo-failover.c
··· 39 39 return; 40 40 } 41 41 42 - colo_do_failover(NULL); 42 + colo_do_failover(); 43 43 } 44 44 45 45 void failover_request_active(Error **errp)
+1 -1
migration/colo.c
··· 193 193 } 194 194 } 195 195 196 - void colo_do_failover(MigrationState *s) 196 + void colo_do_failover(void) 197 197 { 198 198 /* Make sure VM stopped while failover happened. */ 199 199 if (!colo_runstate_is_stopped()) {