fuzz: skip QTest serialization
commitd92e1b6d5439e04d2b863113ce714709f40fb84e
authorAlexander Bulekov <alxndr@bu.edu>
Fri, 29 May 2020 22:14:49 +0000 (29 18:14 -0400)
committerThomas Huth <thuth@redhat.com>
Mon, 15 Jun 2020 16:26:46 +0000 (15 18:26 +0200)
tree409c67d05d1d8bf4443208f5c38304dbe0396e59
parent55b9757c7e58092068d6788114b9e347406ed7f9
fuzz: skip QTest serialization

The QTest server usually parses ASCII commands from clients. Since we
fuzz within the QEMU process, skip the QTest serialization and server
for most QTest commands. Leave the option to use the ASCII protocol, to
generate readable traces for crash reproducers.

Inspired-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
Message-Id: <20200529221450.26673-2-alxndr@bu.edu>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/fuzz/Makefile.include
tests/qtest/fuzz/fuzz.c
tests/qtest/fuzz/fuzz.h
tests/qtest/fuzz/qtest_wrappers.c [new file with mode: 0644]