On Thu, Jun 19, 2014 at 06:06:55PM +0300, Nikolay Nikolaev wrote: > 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.
I squashed path 5 into mine, thanks a lot for the fix. Patch 1-4 applied on the pci branch. Patch 6 breaks mingw build (-lutil isn't present) so it's still pending. > --- > > 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