From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxf5S-0000XI-DN for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:21:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wxf5M-0002wu-Ix for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:21:18 -0400 Received: from mail-qg0-f45.google.com ([209.85.192.45]:57599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wxf5M-0002wk-ER for qemu-devel@nongnu.org; Thu, 19 Jun 2014 12:21:12 -0400 Received: by mail-qg0-f45.google.com with SMTP id 63so2293078qgz.18 for ; Thu, 19 Jun 2014 09:21:11 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20140619150355.10499.53297.stgit@3820> <20140619154828.GA21429@redhat.com> From: Nikolay Nikolaev Date: Thu, 19 Jun 2014 19:20:51 +0300 Message-ID: Content-Type: multipart/alternative; boundary=001a11c29e0ae06c2004fc32c360 Subject: Re: [Qemu-devel] [snabb-devel] Re: [PATCH 0/6] vhost-user qtest fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "snabb-devel@googlegroups.com" Cc: VirtualOpenSystems Technical Team , qemu-devel --001a11c29e0ae06c2004fc32c360 Content-Type: text/plain; charset=UTF-8 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 > 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. >> > > --001a11c29e0ae06c2004fc32c360 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



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



O= n 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 pen= ding.

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

regards,
Niklay Nikolaev

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

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


regards,
Nikol= ay Nikolaev
=C2=A0

> ---
>
> Nikolay Nikolaev (6):
> =C2=A0 =C2=A0 =C2=A0 configure: add new config define CONFIG_VHOST_NET= _USED
> =C2=A0 =C2=A0 =C2=A0 libqemustub: add more stubs for qemu-char
> =C2=A0 =C2=A0 =C2=A0 qtest: fix qtest for vhost-user
> =C2=A0 =C2=A0 =C2=A0 qtest: fix vhost-user-test unbalanced mutex locks=
> =C2=A0 =C2=A0 =C2=A0 vhost: fix migration_blocker initialization
> =C2=A0 =C2=A0 =C2=A0 qtest: enable vhost-user-test
>
>
> =C2=A0configure =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 | =C2=A0 =C2=A03 +
> =C2=A0hw/virtio/vhost.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 = =C2=A03 -
> =C2=A0net/net.c =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 | =C2=A0 =C2=A04 +
> =C2=A0stubs/Makefile.objs =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A02= +
> =C2=A0stubs/chr-baum-init.c =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A07 ++ > =C2=A0stubs/qemu-chr-open-spice.c | =C2=A0 12 ++++
> =C2=A0tests/Makefile =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|= =C2=A0 =C2=A06 +-
> =C2=A0tests/vhost-user-test.c =C2=A0 =C2=A0 | =C2=A0128 ++++++++++++++= ++++++++++++++++++++++++-----
> =C2=A08 files changed, 143 insertions(+), 22 deletions(-)
> =C2=A0create mode 100644 stubs/chr-baum-init.c
> =C2=A0create mode 100644 stubs/qemu-chr-open-spice.c
>
> --
> Signature

--
You received this message because you are subscribed to the Google Groups &= quot;Snabb Switch development" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail 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.


--001a11c29e0ae06c2004fc32c360--