xref: /qemu/hw/vfio-user/container.h (revision aec6836c73403cffa56b9a4c5556451ee16071fe)
19fca2b7dSJohn Levon /*
29fca2b7dSJohn Levon  * vfio-user specific definitions.
39fca2b7dSJohn Levon  *
49fca2b7dSJohn Levon  * SPDX-License-Identifier: GPL-2.0-or-later
59fca2b7dSJohn Levon  */
69fca2b7dSJohn Levon 
79fca2b7dSJohn Levon #ifndef HW_VFIO_USER_CONTAINER_H
89fca2b7dSJohn Levon #define HW_VFIO_USER_CONTAINER_H
99fca2b7dSJohn Levon 
109fca2b7dSJohn Levon #include "qemu/osdep.h"
119fca2b7dSJohn Levon 
129fca2b7dSJohn Levon #include "hw/vfio/vfio-container-base.h"
13*52ce9c35SJohn Levon #include "hw/vfio-user/proxy.h"
149fca2b7dSJohn Levon 
159fca2b7dSJohn Levon /* MMU container sub-class for vfio-user. */
169fca2b7dSJohn Levon typedef struct VFIOUserContainer {
179fca2b7dSJohn Levon     VFIOContainerBase bcontainer;
18*52ce9c35SJohn Levon     VFIOUserProxy *proxy;
199fca2b7dSJohn Levon } VFIOUserContainer;
209fca2b7dSJohn Levon 
219fca2b7dSJohn Levon OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);
229fca2b7dSJohn Levon 
239fca2b7dSJohn Levon #endif /* HW_VFIO_USER_CONTAINER_H */
24