2 * Vhost-user filesystem virtio device
4 * Copyright 2018-2019 Red Hat, Inc.
7 * Stefan Hajnoczi <stefanha@redhat.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or
10 * (at your option) any later version. See the COPYING file in the
11 * top-level directory.
14 #ifndef _QEMU_VHOST_USER_FS_H
15 #define _QEMU_VHOST_USER_FS_H
17 #include "hw/virtio/virtio.h"
18 #include "hw/virtio/vhost.h"
19 #include "hw/virtio/vhost-user.h"
20 #include "chardev/char-fe.h"
22 #define TYPE_VHOST_USER_FS "vhost-user-fs-device"
23 #define VHOST_USER_FS(obj) \
24 OBJECT_CHECK(VHostUserFS, (obj), TYPE_VHOST_USER_FS)
29 uint16_t num_request_queues
;
37 struct vhost_virtqueue
*vhost_vqs
;
38 struct vhost_dev vhost_dev
;
39 VhostUserState vhost_user
;
46 #endif /* _QEMU_VHOST_USER_FS_H */