]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: Make vfio_devices_query_dirty_bitmap() static
authorCédric Le Goater <clg@redhat.com>
Wed, 26 Mar 2025 07:51:12 +0000 (08:51 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:37 +0000 (09:01 +0200)
commitd90aa1b8627b6a2a1e55fc559ce9082598bd47ff
tree2e9c2e1878cdee519c919ea1f1bb6d0d46a14706
parent6b7c812972a697c412f81497999af267e0c6333a
vfio: Make vfio_devices_query_dirty_bitmap() static

vfio_devices_query_dirty_bitmap() is only used in "container-base.c".
Also, rename to vfio_container_devices_query_dirty_bitmap() to reflect
with the prefix 'vfio_container_devices_' that it simply loops over
the container's device list.

Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-28-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container-base.c
include/hw/vfio/vfio-container-base.h