On Wed, Jul 12, 2017 at 11:41:46AM +0200, Jens Freimann wrote: > This implements a testcase for pxe-test using the vhost-user interface. Spawn > a > vhost-user-bridge process and connect it to the qemu process. > > It is send as an RFC because: > - Patch 3/3: there must be cleaner way to do this. > - Does Patch 1/3 make sense or should I just redirect all output to > /dev/null? > - don't hardcode port numbers in qemu cmdline, create socket and pass > fd to -netdev (need to figure out how to do this)
Doesn't this work? -netdev socket,id=str[,fd=h] > Jens Freimann (3): > tests/vhost-user-bridge: disable debug output by default > tests/pxe-test: add testcase using vhost-user-bridge > libvhost-user: quit when no more data received > > contrib/libvhost-user/libvhost-user.c | 12 +++- > contrib/libvhost-user/libvhost-user.h | 1 + > tests/Makefile.include | 4 +- > tests/pxe-test.c | 106 > +++++++++++++++++++++++++++++++++- > tests/vhost-user-bridge.c | 2 +- > 5 files changed, 121 insertions(+), 4 deletions(-) > > -- > 2.9.4