diff options
| author | Mark Cave-Ayland <mark.caveayland@nutanix.com> | 2025-09-25 12:31:17 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-09-25 17:55:19 +0200 |
| commit | a7f185cbeca75555a7fa7272afbd3a06bc4f7f66 (patch) | |
| tree | a58c6ea3aab1e1b8a1dfd2148461a2bb1b6773f3 /hw/vfio | |
| parent | 91bdb2f32902c83490cbafe524c82005a64e1f68 (diff) | |
| download | focaccia-qemu-a7f185cbeca75555a7fa7272afbd3a06bc4f7f66.tar.gz focaccia-qemu-a7f185cbeca75555a7fa7272afbd3a06bc4f7f66.zip | |
vfio/vfio-iommufd.h: rename VFIOContainer bcontainer field to parent_obj
Now that nothing accesses the bcontainer field directly, rename bcontainer to parent_obj as per our current coding guidelines. Signed-off-by: Mark Cave-Ayland <mark.caveayland@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250925113159.1760317-10-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio')
| -rw-r--r-- | hw/vfio/vfio-iommufd.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/vfio/vfio-iommufd.h b/hw/vfio/vfio-iommufd.h index 13f412aad7..6b28e1ff7b 100644 --- a/hw/vfio/vfio-iommufd.h +++ b/hw/vfio/vfio-iommufd.h @@ -22,12 +22,13 @@ typedef struct VFIOIOASHwpt { typedef struct IOMMUFDBackend IOMMUFDBackend; -typedef struct VFIOIOMMUFDContainer { - VFIOContainer bcontainer; +struct VFIOIOMMUFDContainer { + VFIOContainer parent_obj; + IOMMUFDBackend *be; uint32_t ioas_id; QLIST_HEAD(, VFIOIOASHwpt) hwpt_list; -} VFIOIOMMUFDContainer; +}; OBJECT_DECLARE_SIMPLE_TYPE(VFIOIOMMUFDContainer, VFIO_IOMMU_IOMMUFD); |