mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00

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>
23 lines
522 B
C
23 lines
522 B
C
/*
|
|
* vfio-user specific definitions.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef HW_VFIO_USER_CONTAINER_H
|
|
#define HW_VFIO_USER_CONTAINER_H
|
|
|
|
#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);
|
|
|
|
#endif /* HW_VFIO_USER_CONTAINER_H */
|