test: Switch to qemu -netdev stream option instead of using qrap

qemu commit 13c6be96618c ("net: stream: add unix socket") introduces
support for native AF_UNIX support, finally making qrap useless.

We can't quite drop that yet until a qemu release includes it, and
then we'll need to wait a while for users to switch anyway, but at
least for tests, we can use that support.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio
2022-11-04 02:16:21 +01:00
parent 1401962a37
commit 667397db11
7 changed files with 75 additions and 77 deletions

View File

@@ -33,6 +33,11 @@ Example for Debian, and possibly most Debian-based distributions:
netcat-openbsd fakeroot lz4 lm-sensors qemu-system-arm qemu-system-ppc
qemu-system-misc qemu-system-x86 valgrind
NOTE: the tests need a qemu version >= 7.2, or one that contains commit
13c6be96618c ("net: stream: add unix socket"): this change introduces support
for UNIX domain sockets as network device back-end, which qemu uses to connect
to passt.
### Other tools
Test measuring request-response and connect-request-response latencies use