1 /* 2 * Vhost-user i2c 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_I2C_H 10 #define QEMU_VHOST_USER_I2C_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_I2C "vhost-user-i2c-device" 18 19 OBJECT_DECLARE_SIMPLE_TYPE(VHostUserI2C, VHOST_USER_I2C) 20 21 struct VHostUserI2C { 22 VHostUserBase parent_obj; 23 }; 24 25 #endif /* QEMU_VHOST_USER_I2C_H */ 26