mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
vfio/container: Move iova_ranges to base container
Meanwhile remove the helper function vfio_free_container as it only calls g_free now. 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>
This commit is contained in:
parent
4d6b95010c
commit
f79baf8c95
5 changed files with 13 additions and 16 deletions
|
@ -82,7 +82,6 @@ typedef struct VFIOContainer {
|
|||
unsigned iommu_type;
|
||||
QLIST_HEAD(, VFIOHostDMAWindow) hostwin_list;
|
||||
QLIST_HEAD(, VFIOGroup) group_list;
|
||||
GList *iova_ranges;
|
||||
} VFIOContainer;
|
||||
|
||||
typedef struct VFIOHostDMAWindow {
|
||||
|
|
|
@ -48,6 +48,7 @@ typedef struct VFIOContainerBase {
|
|||
QLIST_HEAD(, VFIORamDiscardListener) vrdl_list;
|
||||
QLIST_ENTRY(VFIOContainerBase) next;
|
||||
QLIST_HEAD(, VFIODevice) device_list;
|
||||
GList *iova_ranges;
|
||||
} VFIOContainerBase;
|
||||
|
||||
typedef struct VFIOGuestIOMMU {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue