vfio/container: Introduce vfio_legacy_setup() for further cleanups
commitd3764db87531cd53849ccee9b2f72aede90ccf5b
authorCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 06:58:17 +0000 (19 07:58 +0100)
committerCédric Le Goater <clg@redhat.com>
Fri, 5 Jan 2024 20:25:20 +0000 (5 21:25 +0100)
tree09e7aecfba5a997c5eb1b2b05611338463ab618b
parent001a013ea3f125d2ec0e709b5765754149d8d968
vfio/container: Introduce vfio_legacy_setup() for further cleanups

This will help subsequent patches to unify the initialization of type1
and sPAPR IOMMU backends.

Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Tested-by: Eric Farman <farman@linux.ibm.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/container.c