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