summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--hw/vfio-user/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio-user/pci.c b/hw/vfio-user/pci.c
index 7b6a6514f6..c3947a8f2e 100644
--- a/hw/vfio-user/pci.c
+++ b/hw/vfio-user/pci.c
@@ -20,7 +20,7 @@
 OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserPCIDevice, VFIO_USER_PCI)
 
 struct VFIOUserPCIDevice {
-    VFIOPCIDevice device;
+    VFIOPCIDevice parent_obj;
 
     SocketAddress *socket;
     bool send_queued;   /* all sends are queued */