]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Introduce new files for VFIO MemoryListener
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:51:17 +0000 (08:51 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commit6b62a90c24eb766b331343f9ad80104a7f16e7a2
tree8ba098e4172767e1080bbea14cd75c1da335315e
parentc51358bd17c324dae65f745df9c954e3a7137219
vfio: Introduce new files for VFIO MemoryListener

File "common.c" has been emptied of most of its definitions by the
previous changes and the only definitions left are related to the VFIO
MemoryListener handlers. Rename it to "listener.c" and introduce its
associated "vfio-listener.h" header file for the declarations.

Cleanup a little the includes while at it.

Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-33-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 [moved from hw/vfio/common.c with 100% similarity]
hw/vfio/meson.build
hw/vfio/trace-events
hw/vfio/vfio-listener.h [new file with mode: 0644]
include/hw/vfio/vfio-common.h