master
h 23 lines 464 Bytes
Raw
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
11 #include "hw/vfio/vfio-container.h"
12 #include "hw/vfio-user/proxy.h"
13
14 /* MMU container sub-class for vfio-user. */
15 struct VFIOUserContainer {
16 VFIOContainer parent_obj;
17
18 VFIOUserProxy *proxy;
19 };
20
21 OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);
22
23 #endif /* HW_VFIO_USER_CONTAINER_H */