On 3/19/25 17:42, John Levon wrote:
On Tue, Mar 18, 2025 at 10:54:02AM +0100, Cédric Le Goater wrote:
diff --git a/hw/vfio/device.c b/hw/vfio/device.c
new file mode 100644
index
0000000000000000000000000000000000000000..daa5bae59ca9c65ef23aa193d4e63976fcefdde0
--- /dev/null
+++ b/hw/vfio/device.c
@@ -0,0 +1,331 @@
+/*
+ * low level and IOMMU backend agnostic helpers used by VFIO devices,
+ * related to regions, interrupts, capabilities
This same comment is still at the top of helpers.c - and I'm not sure what
*does* belong still in helpers.c ?
After this series, mostly low level stuff analyzing vfio_region/device_info
and KVM device related services:
vfio_bitmap_alloc
vfio_get_cap
vfio_get_device_info
vfio_get_device_info_cap
vfio_get_info_dma_avail
vfio_get_iommu_type1_info_cap
vfio_get_region_info_cap
vfio_kvm_device_add_fd
vfio_kvm_device_del_fd
vfio_kvm_device_fd
Thanks,
C.