qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] tests/pxe-test: add testcase using vhost-user-bridge
@ 2017-08-09 21:33 Jens Freimann
  2017-08-09 21:33 ` [Qemu-devel] [PATCH v3 1/2] tests/vhost-user-bridge: disable debug output by default Jens Freimann
  2017-08-11  8:26 ` [Qemu-devel] [PATCH v3 2/2] tests/pxe-test: add testcase using vhost-user-bridge Jens Freimann
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Freimann @ 2017-08-09 21:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: marcandre.lureau, mst, victork, maxime.coquelin, jasowang,
	stefanha

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.

changes v2->v3:
- fixed build on aarch64 by removing a flag for g_spawn_async() that is
  not even needed. Patch builds on my system for target aarch64 now

changes v1->v2:

- new patch 4/5. Necessary to make qtest_add_abrt_handler work. 
- get rid of hugepagefs specific code (mst)
- use htonl and INADDR_LOOPBACK to set remote address (Stefan Hajnoczi)
- add qtest abort handler (Stefan Hajnoczi)
- spawn vhost-user-bridge process with flag DO_NOT_REAP_CHILD and add a child
  watch function (Stefan Hajnoczi)
  Killing the vubr process manually at the end of the test and watching
  its termination with the child watch function. 
- clean up pxe-test-disk images 
- add Jason Wang to Cc

regards,
Jens


Jens Freimann (2):
  tests/vhost-user-bridge: disable debug output by default
  tests/pxe-test: add testcase using vhost-user-bridge

 tests/Makefile.include    |   4 +-
 tests/pxe-test.c          | 114 +++++++++++++++++++++++++++++++++++++++++++++-
 tests/vhost-user-bridge.c |   2 +-
 3 files changed, 117 insertions(+), 3 deletions(-)

-- 
2.13.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-11  8:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 21:33 [Qemu-devel] [PATCH v3 0/2] tests/pxe-test: add testcase using vhost-user-bridge Jens Freimann
2017-08-09 21:33 ` [Qemu-devel] [PATCH v3 1/2] tests/vhost-user-bridge: disable debug output by default Jens Freimann
2017-08-11  8:26 ` [Qemu-devel] [PATCH v3 2/2] tests/pxe-test: add testcase using vhost-user-bridge Jens Freimann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).