qemu-e2k/include/migration
Steve Sistare 9d9babf78d migration: MigrationEvent for notifiers
Passing MigrationState to notifiers is unsound because they could access
unstable migration state internals or even modify the state.  Instead, pass
the minimal info needed in a new MigrationEvent struct, which could be
extended in the future if needed.

Suggested-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/1708622920-68779-5-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-02-28 11:31:28 +08: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
failover.h
global_state.h migration: never fail in global_state_store() 2023-06-02 01:03:19 +02:00
misc.h migration: MigrationEvent for notifiers 2024-02-28 11:31:28 +08: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 Replace "iothread lock" with "BQL" in comments 2024-01-08 10:45:43 -05:00
snapshot.h migration: preserve suspended for snapshot 2024-01-04 09:52:42 +08:00
vmstate.h migration: Make VMStateDescription.subsections const 2023-12-29 11:17:30 +11:00