summary refs log tree commit diff stats
path: root/hw/vfio-user/container.h
blob: a2b42e3169dfba173308cb69404fc3b0fa98e99a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * 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.h"
#include "hw/vfio-user/proxy.h"

/* MMU container sub-class for vfio-user. */
struct VFIOUserContainer {
    VFIOContainer parent_obj;

    VFIOUserProxy *proxy;
};

OBJECT_DECLARE_SIMPLE_TYPE(VFIOUserContainer, VFIO_IOMMU_USER);

#endif /* HW_VFIO_USER_CONTAINER_H */