From: Mark Cave-Ayland Date: Tue, 15 Jul 2025 09:25:48 +0000 (+0100) Subject: vfio-user/container.h: update VFIOUserContainer declaration X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=52a1cc3dc00f09779aeb9aa9c6fcdc0284a40d4c;p=thirdparty%2Fqemu.git vfio-user/container.h: update VFIOUserContainer declaration Update the VFIOUserContainer declaration so that it is closer to our coding guidelines: remove the explicit typedef (this is already handled by the OBJECT_DECLARE_TYPE() macro) and add a blank line after the parent object. Signed-off-by: Mark Cave-Ayland Reviewed-by: Cédric Le Goater Reviewed-by: John Levon Reviewed-by: Philippe Mathieu-Daudé Link: https://lore.kernel.org/qemu-devel/20250715093110.107317-9-mark.caveayland@nutanix.com Signed-off-by: Cédric Le Goater --- diff --git a/hw/vfio-user/container.h b/hw/vfio-user/container.h index 2bb1fa13431..d5d2275af73 100644 --- a/hw/vfio-user/container.h +++ b/hw/vfio-user/container.h @@ -13,10 +13,11 @@ #include "hw/vfio-user/proxy.h" /* MMU container sub-class for vfio-user. */ -typedef struct VFIOUserContainer { +struct VFIOUserContainer { VFIOContainerBase bcontainer; + VFIOUserProxy *proxy; -} VFIOUserContainer; +}; OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);