vfio/common: Move giommu_list in base container
commitdddf83ab99eb832c449249397a1c302c6ed746bf
authorEric Auger <eric.auger@redhat.com>
Thu, 2 Nov 2023 07:12:31 +0000 (2 15:12 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 18:03:38 +0000 (19 19:03 +0100)
tree1acc0cd11577465aeeb4430328034de1da50714c
parented2f7f80170251e7cdd2965a13ee97527d1fbec8
vfio/common: Move giommu_list in base container

Move the giommu_list field in the base container and store
the base container in the VFIOGuestIOMMU.

No functional change intended.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Yi Sun <yi.y.sun@linux.intel.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-base.c
hw/vfio/container.c
include/hw/vfio/vfio-common.h
include/hw/vfio/vfio-container-base.h