vfio/container: Convert functions to base container
commite1cac6b203f45b5322e831e8d50edfdf18609b09
authorEric Auger <eric.auger@redhat.com>
Thu, 2 Nov 2023 07:12:35 +0000 (2 15:12 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 18:03:38 +0000 (19 19:03 +0100)
tree8c642e89fa8c62ae2509260d0a10ed2a81a1ef30
parent3e6015d1117579324b456aa169dfca06da9922cf
vfio/container: Convert functions to base container

In the prospect to get rid of VFIOContainer refs
in common.c lets convert misc functions to use the base
container object instead:

vfio_devices_all_dirty_tracking
vfio_devices_all_device_dirty_tracking
vfio_devices_all_running_and_mig_active
vfio_devices_query_dirty_bitmap
vfio_get_dirty_bitmap

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/common.c
hw/vfio/container.c
hw/vfio/trace-events
include/hw/vfio/vfio-common.h