]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: multi-mode notifier
authorSteve Sistare <steven.sistare@oracle.com>
Wed, 1 Oct 2025 15:33:53 +0000 (08:33 -0700)
committerPeter Xu <peterx@redhat.com>
Fri, 3 Oct 2025 13:48:02 +0000 (09:48 -0400)
commitdc79c7d5e15be05b23f24fab12f0d5e2bf831514
tree4cadbb54e03dcb9be976e4bb5a51baa7be3c8ca1
parenta5bc1ccca9596ecbf57b05bed10bd39e8854e475
migration: multi-mode notifier

Allow a notifier to be added for multiple migration modes.
To allow a notifier to appear on multiple per-node lists, use
a generic list type.  We can no longer use NotifierWithReturnList,
because it shoe horns the notifier onto a single list.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/1759332851-370353-2-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
include/migration/misc.h
migration/migration.c