xref: /openbmc/qemu/include/hw/virtio/vhost-user-i2c.h (revision 5767815218efd3cbfd409505ed824d5f356044ae)
17221d3b6SViresh Kumar /*
27221d3b6SViresh Kumar  * Vhost-user i2c virtio device
37221d3b6SViresh Kumar  *
47221d3b6SViresh Kumar  * Copyright (c) 2021 Viresh Kumar <viresh.kumar@linaro.org>
57221d3b6SViresh Kumar  *
67221d3b6SViresh Kumar  * SPDX-License-Identifier: GPL-2.0-or-later
77221d3b6SViresh Kumar  */
87221d3b6SViresh Kumar 
99c092804SMarkus Armbruster #ifndef QEMU_VHOST_USER_I2C_H
109c092804SMarkus Armbruster #define QEMU_VHOST_USER_I2C_H
117221d3b6SViresh Kumar 
12*a50616b5SAlex Bennée #include "hw/virtio/virtio.h"
137221d3b6SViresh Kumar #include "hw/virtio/vhost.h"
147221d3b6SViresh Kumar #include "hw/virtio/vhost-user.h"
15*a50616b5SAlex Bennée #include "hw/virtio/vhost-user-base.h"
167221d3b6SViresh Kumar 
177221d3b6SViresh Kumar #define TYPE_VHOST_USER_I2C "vhost-user-i2c-device"
18*a50616b5SAlex Bennée 
197221d3b6SViresh Kumar OBJECT_DECLARE_SIMPLE_TYPE(VHostUserI2C, VHOST_USER_I2C)
207221d3b6SViresh Kumar 
217221d3b6SViresh Kumar struct VHostUserI2C {
22*a50616b5SAlex Bennée     VHostUserBase parent_obj;
237221d3b6SViresh Kumar };
247221d3b6SViresh Kumar 
259c092804SMarkus Armbruster #endif /* QEMU_VHOST_USER_I2C_H */
26