]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
vfio/vfio-iommufd.h: rename VFIOContainer bcontainer field to parent_obj
authorMark Cave-Ayland <mark.caveayland@nutanix.com>
Thu, 25 Sep 2025 11:31:17 +0000 (12:31 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 25 Sep 2025 15:55:19 +0000 (17:55 +0200)
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>
hw/vfio/vfio-iommufd.h

index 13f412aad79abfea2e591ee0e3e6d7a5b2c9f68c..6b28e1ff7bbb170de0d61f502588bf84ccddd112 100644 (file)
@@ -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);