diff options
| author | Mark Cave-Ayland <mark.caveayland@nutanix.com> | 2025-09-25 12:31:19 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-09-25 17:55:19 +0200 |
| commit | 1bd06d0385eb72bb54aa14af34e8361ec3ae8cee (patch) | |
| tree | 6fcba25911a2aa8d829740524c2fc0afc430d868 | |
| parent | 6c671235636cfb5e825040b4621ff06c77925731 (diff) | |
| download | focaccia-qemu-1bd06d0385eb72bb54aa14af34e8361ec3ae8cee.tar.gz focaccia-qemu-1bd06d0385eb72bb54aa14af34e8361ec3ae8cee.zip | |
vfio/spapr.c: 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-12-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
| -rw-r--r-- | hw/vfio/spapr.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/vfio/spapr.c b/hw/vfio/spapr.c index c883ba6da9..8d9d68da4e 100644 --- a/hw/vfio/spapr.c +++ b/hw/vfio/spapr.c @@ -30,12 +30,13 @@ typedef struct VFIOHostDMAWindow { QLIST_ENTRY(VFIOHostDMAWindow) hostwin_next; } VFIOHostDMAWindow; -typedef struct VFIOSpaprContainer { - VFIOLegacyContainer container; +struct VFIOSpaprContainer { + VFIOLegacyContainer parent_obj; + MemoryListener prereg_listener; QLIST_HEAD(, VFIOHostDMAWindow) hostwin_list; unsigned int levels; -} VFIOSpaprContainer; +}; OBJECT_DECLARE_SIMPLE_TYPE(VFIOSpaprContainer, VFIO_IOMMU_SPAPR); |