On 4/30/24 11:13, Duan, Zhenzhong wrote:
-----Original Message-----
From: Cédric Le Goater <c...@redhat.com>
Subject: Re: [PATCH v3 02/19] vfio/container: Introduce
HostIOMMUDeviceLegacyVFIO device
On 4/29/24 08:50, Zhenzhong Duan wrote:
HostIOMMUDeviceLegacyVFIO represents a host IOMMU device under
VFIO
legacy container backend.
It includes a link to VFIODevice.
I don't see any use of this attribute. May be introduce later when needed.
Indeed, will remove.
Then 'struct HostIOMMUDeviceLegacyVFIO' is same as
struct HostIOMMUDevice.
Not clear if it's preferred to remove 'struct HostIOMMUDeviceLegacyVFIO'
and use HostIOMMUDevice instead. Something like:
OBJECT_DECLARE_SIMPLE_TYPE(HostIOMMUDevice,
HOST_IOMMU_DEVICE_LEGACY_VFIO)
I would. The simpler the better.
Thanks,
C.