virtio: split into vhost-user-base and vhost-user-device
commit6275989647efb708f126eb4f880e593792301ed4
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 4 Jan 2024 21:09:35 +0000 (4 21:09 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 14 Feb 2024 11:01:39 +0000 (14 06:01 -0500)
tree476d442921e8e03e4e1d40f5954f8ae381a6736c
parentdf50424b4dcfde823047d3717abd6a61224ea205
virtio: split into vhost-user-base and vhost-user-device

Lets keep a cleaner split between the base class and the derived
vhost-user-device which we can use for generic vhost-user stubs. This
includes an update to introduce the vq_size property so the number of
entries in a virtq can be defined.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240104210945.1223134-2-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
MAINTAINERS
hw/virtio/meson.build
hw/virtio/vhost-user-base.c [copied from hw/virtio/vhost-user-device.c with 81% similarity]
hw/virtio/vhost-user-device-pci.c
hw/virtio/vhost-user-device.c
include/hw/virtio/vhost-user-base.h [moved from include/hw/virtio/vhost-user-device.h with 71% similarity]