diff options
| author | John Levon <john.levon@nutanix.com> | 2025-06-25 20:30:03 +0100 |
|---|---|---|
| committer | Cédric Le Goater <clg@redhat.com> | 2025-06-26 08:55:38 +0200 |
| commit | 52ce9c35f8e364e5823fc13f23929eb597bb69ac (patch) | |
| tree | da8a2896f464ef06ef004f8e276eb26b1f46a8e2 /hw/vfio-user/container.h | |
| parent | 777e45c7b914583ca83ace7601d9cf90ddf1f3fd (diff) | |
| download | focaccia-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.h | 2 |
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); |