diff options
| author | Cédric Le Goater <clg@redhat.com> | 2025-03-26 08:51:00 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-04-25 09:01:37 +0200 |
| commit | 5cf52416e428836b1328ed47173a41948e1643bd (patch) | |
| tree | b6fe147f4146ec877c49c266da2acf7914ad8964 /hw/vfio/iommufd.c | |
| parent | d158ed092332d8c79193921112ea5e7b5e62cd6d (diff) | |
| download | focaccia-qemu-5cf52416e428836b1328ed47173a41948e1643bd.tar.gz focaccia-qemu-5cf52416e428836b1328ed47173a41948e1643bd.zip | |
vfio: Move Host IOMMU type declarations into their respective files
These definitions don't have any use outside of their respective submodules. There is no need to expose them externally. Keep them private. Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Reviewed-by: John Levon <john.levon@nutanix.com> Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-15-clg@redhat.com Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-16-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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vfio/iommufd.c b/hw/vfio/iommufd.c index a520d40afc..2ec15bc269 100644 --- a/hw/vfio/iommufd.c +++ b/hw/vfio/iommufd.c @@ -27,6 +27,9 @@ #include "pci.h" #include "vfio-iommufd.h" +#define TYPE_HOST_IOMMU_DEVICE_IOMMUFD_VFIO \ + TYPE_HOST_IOMMU_DEVICE_IOMMUFD "-vfio" + static int iommufd_cdev_map(const VFIOContainerBase *bcontainer, hwaddr iova, ram_addr_t size, void *vaddr, bool readonly) { |