1 /* 2 * vfio-user specific definitions. 3 * 4 * SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #ifndef HW_VFIO_USER_CONTAINER_H 8 #define HW_VFIO_USER_CONTAINER_H 9 10 #include "qemu/osdep.h" 11 12 #include "hw/vfio/vfio-container-base.h" 13 #include "hw/vfio-user/proxy.h" 14 15 /* MMU container sub-class for vfio-user. */ 16 typedef struct VFIOUserContainer { 17 VFIOContainerBase bcontainer; 18 VFIOUserProxy *proxy; 19 } VFIOUserContainer; 20 21 OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER); 22 23 #endif /* HW_VFIO_USER_CONTAINER_H */ 24