summary refs log tree commit diff stats
path: root/hw/vfio/container.c
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2025-04-23 15:28:24 +0800
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:38 +0200
commitfdd75967836ca1affa29ad5a50a690851d310cd9 (patch)
tree1283f5824eb99c806d5c9e90b785232309ba5532 /hw/vfio/container.c
parent0805f829a1aa07888fa7378f9421d37c521c4193 (diff)
downloadfocaccia-qemu-fdd75967836ca1affa29ad5a50a690851d310cd9.tar.gz
focaccia-qemu-fdd75967836ca1affa29ad5a50a690851d310cd9.zip
vfio: Remove hiod_typename property
Because we handle host IOMMU device creation in each container backend,
we know which type name to use, so hiod_typename property is useless
now, just remove it.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250423072824.3647952-6-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/container.c')
-rw-r--r--hw/vfio/container.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/vfio/container.c b/hw/vfio/container.c
index 78f70e63d6..29170f0634 100644
--- a/hw/vfio/container.c
+++ b/hw/vfio/container.c
@@ -1103,8 +1103,6 @@ static void vfio_iommu_legacy_class_init(ObjectClass *klass, void *data)
 {
     VFIOIOMMUClass *vioc = VFIO_IOMMU_CLASS(klass);
 
-    vioc->hiod_typename = TYPE_HOST_IOMMU_DEVICE_LEGACY_VFIO;
-
     vioc->setup = vfio_legacy_setup;
     vioc->dma_map = vfio_legacy_dma_map;
     vioc->dma_unmap = vfio_legacy_dma_unmap;