diff options
| author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:51:17 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
| commit | 6b62a90c24eb766b331343f9ad80104a7f16e7a2 (patch) | |
| tree | 8ba098e4172767e1080bbea14cd75c1da335315e /hw/vfio/iommufd.c | |
| parent | c51358bd17c324dae65f745df9c954e3a7137219 (diff) | |
| download | focaccia-qemu-6b62a90c24eb766b331343f9ad80104a7f16e7a2.tar.gz focaccia-qemu-6b62a90c24eb766b331343f9ad80104a7f16e7a2.zip | |
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>
Diffstat (limited to 'hw/vfio/iommufd.c')
| -rw-r--r-- | hw/vfio/iommufd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/iommufd.c b/hw/vfio/iommufd.c index a5bd189a86..7488d21215 100644 --- a/hw/vfio/iommufd.c +++ b/hw/vfio/iommufd.c @@ -28,6 +28,7 @@ #include "vfio-iommufd.h" #include "vfio-helpers.h" #include "vfio-cpr.h" +#include "vfio-listener.h" #define TYPE_HOST_IOMMU_DEVICE_IOMMUFD_VFIO \ TYPE_HOST_IOMMU_DEVICE_IOMMUFD "-vfio" |