On Wed, Aug 20, 2025 at 08:56:32PM +0100, Alex Bennée wrote: > We didn't make the device user creatable in the first place because we > were worried users might get confused. Rename the device to make its > nature as a test device even more explicit. While we are at it add a > Kconfig variable so it can be skipped for those that want to thin out > their build configuration even further. > > Signed-off-by: Alex Bennée <alex.ben...@linaro.org> > --- > docs/system/devices/vhost-user.rst | 20 +++++++------------ > include/hw/virtio/vhost-user-base.h | 2 +- > ...ice-pci.c => vhost-user-test-device-pci.c} | 17 +++++++--------- > ...user-device.c => vhost-user-test-device.c} | 9 +++------ > hw/virtio/Kconfig | 5 +++++ > hw/virtio/meson.build | 5 +++-- > 6 files changed, 26 insertions(+), 32 deletions(-) > rename hw/virtio/{vhost-user-device-pci.c => vhost-user-test-device-pci.c} > (77%) > rename hw/virtio/{vhost-user-device.c => vhost-user-test-device.c} (87%)
It's okay to rename this device since no one today can use vhost-user-device without modifying QEMU's source code anyway. Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature