summary refs log tree commit diff stats
path: root/hw/vfio-user/container.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2025-06-25 20:30:03 +0100
committerCédric Le Goater <clg@redhat.com>2025-06-26 08:55:38 +0200
commit52ce9c35f8e364e5823fc13f23929eb597bb69ac (patch)
treeda8a2896f464ef06ef004f8e276eb26b1f46a8e2 /hw/vfio-user/container.h
parent777e45c7b914583ca83ace7601d9cf90ddf1f3fd (diff)
downloadfocaccia-qemu-52ce9c35f8e364e5823fc13f23929eb597bb69ac.tar.gz
focaccia-qemu-52ce9c35f8e364e5823fc13f23929eb597bb69ac.zip
vfio-user: set up container access to the proxy
The user container will shortly need access to the underlying vfio-user
proxy; set this up.

Originally-by: John Johnson <john.g.johnson@oracle.com>
Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com>
Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250625193012.2316242-12-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio-user/container.h')
-rw-r--r--hw/vfio-user/container.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/vfio-user/container.h b/hw/vfio-user/container.h
index e4a46d2c1b..2bb1fa1343 100644
--- a/hw/vfio-user/container.h
+++ b/hw/vfio-user/container.h
@@ -10,10 +10,12 @@
 #include "qemu/osdep.h"
 
 #include "hw/vfio/vfio-container-base.h"
+#include "hw/vfio-user/proxy.h"
 
 /* MMU container sub-class for vfio-user. */
 typedef struct VFIOUserContainer {
     VFIOContainerBase bcontainer;
+    VFIOUserProxy *proxy;
 } VFIOUserContainer;
 
 OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);