]> git.proxmox.com Git - mirror_qemu.git/commit - migration/migration.c
migration: convert to NotifierWithReturn
authorSteve Sistare <steven.sistare@oracle.com>
Thu, 22 Feb 2024 17:28:29 +0000 (09:28 -0800)
committerPeter Xu <peterx@redhat.com>
Wed, 28 Feb 2024 03:31:28 +0000 (11:31 +0800)
commit3e7757301cc93eaca47cad855630467804b1a2a4
tree57009f7020638d407965a51dd8d96bc5eadc06d8
parentd91f33c72e1fed8ad8727a670622704e02110562
migration: convert to NotifierWithReturn

Change all migration notifiers to type NotifierWithReturn, so notifiers
can return an error status in a future patch.  For now, pass NULL for the
notifier error parameter, and do not check the return value.

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-4-git-send-email-steven.sistare@oracle.com
[peterx: dropped unexpected update to roms/seabios-hppa]
Signed-off-by: Peter Xu <peterx@redhat.com>
hw/net/virtio-net.c
hw/vfio/migration.c
include/hw/vfio/vfio-common.h
include/hw/virtio/virtio-net.h
include/migration/misc.h
include/qemu/notify.h
migration/migration.c
net/vhost-vdpa.c
ui/spice-core.c