hw/virtio: derive vhost-user-i2c from vhost-user-base
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jan 2024 21:09:39 +0000 (21:09 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:01:49 +0000 (06:01 -0500)
commita50616b50d0107c3bbdf9fae5ac1f3659dfc70f3
tree5ccb972233fe51438eca0aa507b0c900719f58c2
parent5ba587580db55bd310dc64d0eb89b4f7b19c6404
hw/virtio: derive vhost-user-i2c from vhost-user-base

Now we can take advantage of the new base class and make
vhost-user-i2c a much simpler boilerplate wrapper. Also as this
doesn't require any target specific hacks we only need to build the
stubs once.

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240104210945.1223134-6-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/meson.build
hw/virtio/vhost-user-i2c.c
include/hw/virtio/vhost-user-i2c.h