vfio/container: Move per container device list in base container
commit3e6015d1117579324b456aa169dfca06da9922cf
authorZhenzhong Duan <zhenzhong.duan@intel.com>
Thu, 2 Nov 2023 07:12:34 +0000 (2 15:12 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 19 Dec 2023 18:03:38 +0000 (19 19:03 +0100)
treee56d45973198c332eb5d8bf800d2dc90bd88c78e
parentbb424490edcef73d07f200d53f69415b203d81df
vfio/container: Move per container device list in base container

VFIO Device is also changed to point to base container instead of
legacy container.

No functional change intended.

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
include/hw/vfio/vfio-common.h
include/hw/vfio/vfio-container-base.h