]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Move vfio_get_info_dma_avail() into helpers.c
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:51:02 +0000 (08:51 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commitf6d7f5d02bbb57b5b469863afe89278d64598d81
tree1e3ec9765868f518950b26d9842e108b101261c8
parentac28680d5e7a84943cd9f55a4aae245d6d7fdcae
vfio: Move vfio_get_info_dma_avail() into helpers.c

vfio_get_info_dma_avail() is a low level routine similar to the other
routines extracting capabilities from 'struct vfio_iommu_type1_info'.
It belongs to file "helpers.c".

Reviewed-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250318095415.670319-17-clg@redhat.com
Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-18-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c
hw/vfio/helpers.c
hw/vfio/vfio-helpers.h
include/hw/vfio/vfio-common.h