You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/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>
1 month ago
..
blocker.h migration: per-mode blockers 1 year ago
client-options.h migration: export vcpu_dirty_limit_period 9 months ago
colo.h migration/colo: make colo_incoming_co() return void 7 months ago
cpu.h Include migration/vmstate.h less 5 years ago
failover.h Include qemu-common.h exactly where needed 6 years ago
global_state.h migration: never fail in global_state_store() 2 years ago
misc.h migration: Drop migration_is_idle() 1 month ago
qemu-file-types.h migration/qemu-file: add utility methods for working with seekable channels 9 months ago
register.h migration: Add Error** argument to .load_setup() handler 7 months ago
snapshot.h migration: preserve suspended for snapshot 11 months ago
vmstate.h migration: Remove unused VMSTATE_ARRAY_TEST() macro 6 months ago