summary refs log tree commit diff stats
path: root/hw/vfio-user/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vfio-user/container.h')
-rw-r--r--hw/vfio-user/container.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/vfio-user/container.h b/hw/vfio-user/container.h
index 2bb1fa1343..96aa6785d9 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 {
-    VFIOContainerBase bcontainer;
+struct VFIOUserContainer {
+    VFIOContainerBase parent_obj;
+
     VFIOUserProxy *proxy;
-} VFIOUserContainer;
+};
 
 OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);