]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/iommufd: Implement [at|de]tach_hwpt handlers
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Wed, 4 Jun 2025 06:21:14 +0000 (14:21 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 5 Jun 2025 08:40:38 +0000 (10:40 +0200)
commite50a3ead976d23bd1b4fdf50baea8df2303128a5
treee55f05ac045a36feeff0eb26f1275e80bd36400b
parent98962d62984440a3905e83492c33a854861def0f
vfio/iommufd: Implement [at|de]tach_hwpt handlers

Implement [at|de]tach_hwpt handlers in VFIO subsystem. vIOMMU
utilizes them to attach to or detach from hwpt on host side.

Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Nicolin Chen <nicolinc@nvidia.com>
Link: https://lore.kernel.org/qemu-devel/20250604062115.4004200-4-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/iommufd.c