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
..
2024-01-30 21:20:20 +03:00
2023-09-08 13:08:52 +03:00
2023-09-18 14:36:13 +08:00
2023-09-08 13:08:52 +03:00
2023-09-18 14:36:13 +08:00
2023-07-07 16:35:12 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00