Re: [PATCH v3 3/5] iommufd/vdevice: Remove struct device reference from struct vdevice

From: Baolu Lu
Date: Mon Jun 30 2025 - 01:12:58 EST


On 6/27/25 11:38, Xu Yilun wrote:
Remove struct device *dev from struct vdevice.

The dev pointer is the Plan B for vdevice to reference the physical
device. As now vdev->idev is added without refcounting concern, just
use vdev->idev->dev when needed.

Signed-off-by: Xu Yilun<yilun.xu@xxxxxxxxxxxxxxx>

Reviewed-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>