On Thu, Jun 19, 2014 at 6:55 PM, Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> wrote:



On Thu, Jun 19, 2014 at 6:48 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
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.

OK, thanks Michael!
I am still looking how to setup mingw. Any hints? Is compiling on windows simpler?

regards,
Niklay Nikolaev

After removing the -lutil line it still breaks for my mingw:

../backends/hostmem.o: In function `host_memory_backend_memory_complete':
/home/nickolaev/workspace/qemu/backends/hostmem.c:342: undefined reference to `os_mem_prealloc'


regards,
Nikolay Nikolaev
 

> ---
>
> 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

--
You received this message because you are subscribed to the Google Groups "Snabb Switch development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snabb-devel+unsubscribe@googlegroups.com.
To post to this group, send an email to snabb-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/snabb-devel.