Re: [Qemu-devel] [PATCH 4/4] tests/pxe-test: add testcase using vhost-user-bridge

2017-07-25 Thread Jens Freimann
On Mon, Jul 24, 2017 at 02:42:43PM +0100, Stefan Hajnoczi wrote: On Fri, Jul 21, 2017 at 11:55:53AM +0200, Jens Freimann wrote: +static const char *init_hugepagefs(const char *path) +{ +struct statfs fs; +int ret; + +if (access(path, R_OK | W_OK | X_OK)) { +g_test_message("ac

Re: [Qemu-devel] [PATCH 4/4] tests/pxe-test: add testcase using vhost-user-bridge

2017-07-25 Thread Jens Freimann
On Tue, Jul 25, 2017 at 01:06:51AM +0300, Michael S. Tsirkin wrote: On Fri, Jul 21, 2017 at 11:55:53AM +0200, Jens Freimann wrote: From: Jens Freimann Add a PXE testcase tunneling traffic through vhost-user-bridge process. Create a vhost-user-bridge process and connect it to qemu via a socket

Re: [Qemu-devel] [PATCH 4/4] tests/pxe-test: add testcase using vhost-user-bridge

2017-07-24 Thread Michael S. Tsirkin
On Fri, Jul 21, 2017 at 11:55:53AM +0200, Jens Freimann wrote: > From: Jens Freimann > > Add a PXE testcase tunneling traffic through vhost-user-bridge process. > Create a vhost-user-bridge process and connect it to qemu via a socket. > > Signed-off-by: Jens Freimann > --- > tests/Makefile.in

Re: [Qemu-devel] [PATCH 4/4] tests/pxe-test: add testcase using vhost-user-bridge

2017-07-24 Thread Stefan Hajnoczi
On Fri, Jul 21, 2017 at 11:55:53AM +0200, Jens Freimann wrote: > +static const char *init_hugepagefs(const char *path) > +{ > +struct statfs fs; > +int ret; > + > +if (access(path, R_OK | W_OK | X_OK)) { > +g_test_message("access on path (%s): %s\n", path, strerror(errno)); > +

[Qemu-devel] [PATCH 4/4] tests/pxe-test: add testcase using vhost-user-bridge

2017-07-21 Thread Jens Freimann
From: Jens Freimann Add a PXE testcase tunneling traffic through vhost-user-bridge process. Create a vhost-user-bridge process and connect it to qemu via a socket. Signed-off-by: Jens Freimann --- tests/Makefile.include | 4 +- tests/pxe-test.c | 140 ++