]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Introduce a new header file for VFIOIOMMUFD declarations
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:50:55 +0000 (08:50 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commitd4a8f286e991c468489b19e45b959a1920d6890c
tree3d1eec66713ce594800f2cab925792106874124e
parent5a339dd8c1e34e13ae7f64477e20decdf381aae7
vfio: Introduce a new header file for VFIOIOMMUFD declarations

Gather all VFIOIOMMUFD related declarations introduced by commits
5ee3dc7af785 ("vfio/iommufd: Implement the iommufd backend") and
5b1e96e65403 ("vfio/iommufd: Introduce auto domain creation") into
"vfio-iommufd.h". This to reduce exposure of VFIO internals in
"hw/vfio/vfio-common.h".

Cc: Joao Martins <joao.m.martins@oracle.com>
Cc: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-10-clg@redhat.com
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-11-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/iommufd.c
hw/vfio/vfio-iommufd.h [new file with mode: 0644]
include/hw/vfio/vfio-common.h