master
h 24 lines 560 Bytes
Raw
1 /*
2 * Vhost-user GPIO virtio device
3 *
4 * Copyright (c) 2021 Viresh Kumar <viresh.kumar@linaro.org>
5 *
6 * SPDX-License-Identifier: GPL-2.0-or-later
7 */
8
9 #ifndef _QEMU_VHOST_USER_GPIO_H
10 #define _QEMU_VHOST_USER_GPIO_H
11
12 #include "hw/virtio/virtio.h"
13 #include "hw/virtio/vhost.h"
14 #include "hw/virtio/vhost-user.h"
15 #include "hw/virtio/vhost-user-base.h"
16
17 #define TYPE_VHOST_USER_GPIO "vhost-user-gpio-device"
18 OBJECT_DECLARE_SIMPLE_TYPE(VHostUserGPIO, VHOST_USER_GPIO);
19
20 struct VHostUserGPIO {
21 VHostUserBase parent_obj;
22 };
23
24 #endif /* _QEMU_VHOST_USER_GPIO_H */