vfio/container: Introduce vfio_iommu_legacy_instance_init()
authorCédric Le Goater <clg@redhat.com>
Mon, 17 Jun 2024 06:34:08 +0000 (08:34 +0200)
committerCédric Le Goater <clg@redhat.com>
Mon, 24 Jun 2024 21:15:31 +0000 (23:15 +0200)
commitb052f73cbec3bf593a04b2f5cdaf3569256859a3
tree7fcb7c9cdbaaf6fbcb493350a2fc5573aff2a1f6
parent2f7243cb8a3184cc26c70805e5aaec07fac943d1
vfio/container: Introduce vfio_iommu_legacy_instance_init()

Just as we did for the VFIOContainerBase object, introduce an
instance_init() handler for the legacy VFIOContainer object and do the
specific initialization there.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c