mirror_qemu/include/migration
Steve Sistare fa3673e497 migration: per-mode blockers
Extend the blocker interface so that a blocker can be registered for
one or more migration modes.  The existing interfaces register a
blocker for all modes, and the new interfaces take a varargs list
of modes.

Internally, maintain a separate blocker list per mode.  The same Error
object may be added to multiple lists.  When a block is deleted, it is
removed from every list, and the Error is freed.

No functional change until a new mode is added.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <1698263069-406971-3-git-send-email-steven.sistare@oracle.com>
2023-11-01 16:13:59 +01:00
..
blocker.h migration: per-mode blockers 2023-11-01 16:13:59 +01:00
colo.h migration: process_incoming_migration_co(): move colo part to colo 2023-05-18 18:40:51 +02:00
cpu.h Include migration/vmstate.h less 2019-08-16 13:31:52 +02:00
failover.h Include qemu-common.h exactly where needed 2019-06-12 13:20:20 +02:00
global_state.h migration: never fail in global_state_store() 2023-06-02 01:03:19 +02:00
misc.h migration: mode parameter 2023-11-01 16:13:58 +01:00
qemu-file-types.h migration: Move rate_limit_max and rate_limit_used to migration_stats 2023-05-18 18:40:51 +02:00
register.h migration: hold the BQL during setup 2023-10-17 09:25:13 +02:00
snapshot.h migration: introduce a delete_snapshot wrapper 2021-02-08 11:19:51 +00:00
vmstate.h migration: Hack to maintain backwards compatibility for ppc 2023-11-01 16:13:58 +01:00