]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Introduce vfio_listener_un/register() routines
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:51:19 +0000 (08:51 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commita9183378f54969c8b11f08fdb3063925de8d77c3
tree767d638f2b5ee3ebf1106d57472f5d6078e1e8c5
parent74d376378e2a41392a36f34cef7d2c89ac2dfb33
vfio: Introduce vfio_listener_un/register() routines

This hides the MemoryListener implementation and makes the code common
to both IOMMU backends, legacy and IOMMUFD.

Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-35-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c
hw/vfio/iommufd.c
hw/vfio/listener.c
hw/vfio/vfio-listener.h