]> git.ipfire.org Git - thirdparty/qemu.git/commit
notify: pass error to notifier with return
authorSteve Sistare <steven.sistare@oracle.com>
Thu, 22 Feb 2024 17:28:27 +0000 (09:28 -0800)
committerPeter Xu <peterx@redhat.com>
Wed, 28 Feb 2024 03:31:28 +0000 (11:31 +0800)
commitbe19d836cdd7855ffdb9a48299f5892dea3a1f67
tree8a9551b3c672c547aeafee721d1c6b0588490e65
parentc9a7e83c9d64fd5ebc759186789e1b753c919d32
notify: pass error to notifier with return

Pass an error object as the third parameter to "notifier with return"
notifiers, so clients no longer need to bundle an error object in the
opaque data.  The new parameter is used in a later patch.

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-2-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
hw/virtio/vhost-user.c
hw/virtio/virtio-balloon.c
include/qemu/notify.h
migration/postcopy-ram.c
migration/ram.c
util/notify.c