Hi, This is a clean up based on Cedric's suggestion at https://lists.gnu.org/archive/html/qemu-devel/2023-11/msg02722.html
VFIO device initializations are all moved from realize to instance_init. Based on https://github.com/legoater/qemu/commits/vfio-8.2 Thanks Zhenzhong Zhenzhong Duan (4): vfio/pci: Move VFIODevice initializations in vfio_instance_init vfio/platform: Move VFIODevice initializations in vfio_platform_instance_init vfio/ap: Move VFIODevice initializations in vfio_ap_instance_init vfio/ccw: Move VFIODevice initializations in vfio_ccw_instance_init hw/vfio/ap.c | 26 +++++++++++++------------- hw/vfio/ccw.c | 30 +++++++++++++++--------------- hw/vfio/pci.c | 10 ++++++---- hw/vfio/platform.c | 10 +++++----- 4 files changed, 39 insertions(+), 37 deletions(-) -- 2.34.1