qemu-cr16/include/migration
Peter Xu 34a8892dec migration: Drop migration_is_idle()
Now with the current migration_is_running(), it will report exactly the
opposite of what will be reported by migration_is_idle().

Drop migration_is_idle(), instead use "!migration_is_running()" which
should be identical on functionality.

In reality, most of the idle check is inverted, so it's even easier to
write with "migrate_is_running()" check.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20241024213056.1395400-6-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-10-31 15:48:18 -04:00
..
blocker.h
client-options.h
colo.h migration/colo: make colo_incoming_co() return void 2024-05-22 17:34:31 -03:00
cpu.h
failover.h
global_state.h
misc.h migration: Drop migration_is_idle() 2024-10-31 15:48:18 -04:00
qemu-file-types.h
register.h
snapshot.h
vmstate.h migration: Remove unused VMSTATE_ARRAY_TEST() macro 2024-06-21 14:37:58 -03:00