]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: add vfio_attach_device_by_iommu_type()
authorJohn Levon <john.levon@nutanix.com>
Wed, 7 May 2025 15:20:08 +0000 (16:20 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 9 May 2025 10:42:28 +0000 (12:42 +0200)
commitef73671f0bfc7bd852439e42ab4260104d902055
tree6378e9ca52059431502a449d899ac3e2d54c3e40
parentd60fb709cf948b3dc508eb88162f5666a49762ae
vfio: add vfio_attach_device_by_iommu_type()

Allow attachment by explicitly passing a TYPE_VFIO_IOMMU_* string;
vfio-user will use this later.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250507152020.1254632-4-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/device.c
include/hw/vfio/vfio-device.h