The following series enables vhost-user-test in make check. The first patch adds a new CONFIG_VHOST_NET_USED in configure to be used in net.c to enable vhost-user netdev backend.
Fifth patch fixes an error when calling erro_setg in vhost_dev_init. --- Nikolay Nikolaev (6): configure: add new config define CONFIG_VHOST_NET_USED libqemustub: add more stubs for qemu-char qtest: fix qtest for vhost-user qtest: fix vhost-user-test unbalanced mutex locks vhost: fix migration_blocker initialization qtest: enable vhost-user-test configure | 3 + hw/virtio/vhost.c | 3 - net/net.c | 4 + stubs/Makefile.objs | 2 + stubs/chr-baum-init.c | 7 ++ stubs/qemu-chr-open-spice.c | 12 ++++ tests/Makefile | 6 +- tests/vhost-user-test.c | 128 ++++++++++++++++++++++++++++++++++++++----- 8 files changed, 143 insertions(+), 22 deletions(-) create mode 100644 stubs/chr-baum-init.c create mode 100644 stubs/qemu-chr-open-spice.c -- Signature