summary refs log tree commit diff stats
path: root/hw/vfio/common.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-03-26 08:51:14 +0100
committerCédric Le Goater <clg@redhat.com>2025-04-25 09:01:37 +0200
commite17c281e7c12d0bbe5de841f0a910687cdaaedd1 (patch)
tree73f972cffa2bba86db714334d820b7f4ada8a81c /hw/vfio/common.c
parent35e6d2c1d07dfd45c8b00019a98499d2cd6442ca (diff)
downloadfocaccia-qemu-e17c281e7c12d0bbe5de841f0a910687cdaaedd1.tar.gz
focaccia-qemu-e17c281e7c12d0bbe5de841f0a910687cdaaedd1.zip
vfio: Rename vfio_devices_all_dirty_tracking_started()
Also rename vfio_devices_all_device_dirty_tracking_started() while at
it and use the prefix 'vfio_container_devices_' for routines simply
looping 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-30-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
-rw-r--r--hw/vfio/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c
index ed49ef88a8..89b7a71385 100644
--- a/hw/vfio/common.c
+++ b/hw/vfio/common.c
@@ -55,7 +55,7 @@ static bool vfio_log_sync_needed(const VFIOContainerBase *bcontainer)
 {
     VFIODevice *vbasedev;
 
-    if (!vfio_devices_all_dirty_tracking_started(bcontainer)) {
+    if (!vfio_container_dirty_tracking_is_started(bcontainer)) {
         return false;
     }