]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/container: pass listener_begin/commit callbacks
authorJohn Levon <john.levon@nutanix.com>
Wed, 7 May 2025 15:20:19 +0000 (16:20 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 9 May 2025 10:42:28 +0000 (12:42 +0200)
commitd9b7d8b6993b5193480e5a972902e3e9bbc4d8a1
tree353ebf822b85a9debe4427a79e3668f82cb5191f
parentd4e392d0a99b8018453e26f907e33b89724697a6
vfio/container: pass listener_begin/commit callbacks

The vfio-user container will later need to hook into these callbacks;
set up vfio to use them, and optionally pass them through to the
container.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-15-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/listener.c
include/hw/vfio/vfio-container-base.h