diff options
| author | Alexander Bulekov <alxndr@bu.edu> | 2020-08-19 02:10:56 -0400 |
|---|---|---|
| committer | Thomas Huth <thuth@redhat.com> | 2020-09-16 08:41:06 +0200 |
| commit | d287961f25672d94a38dfdd03d1daa7e3d343c3c (patch) | |
| tree | 1e47c3930241d6d6b564598484df265be9c6bac9 /tests/qtest/qmp-cmd-test.c | |
| parent | 1f04fa3e002e28b96277bf3f09265a4221cdb39b (diff) | |
| download | focaccia-qemu-d287961f25672d94a38dfdd03d1daa7e3d343c3c.tar.gz focaccia-qemu-d287961f25672d94a38dfdd03d1daa7e3d343c3c.zip | |
fuzz: Change the way we write qtest log to stderr
Telling QTest to log to /dev/fd/2, essentially results in dup(2). This is fine, if other code isn't logging to stderr. Otherwise, the order of the logs is mixed due to buffering issues, since two file-descriptors are used to write to the same file. We can avoid this, since just specifying "-qtest" sets the log fd to stderr. If we want to disable qtest logs, we can just add -qtest-log none. Reviewed-by: Darren Kenny <darren.kenny@oracle.com> Signed-off-by: Alexander Bulekov <alxndr@bu.edu> Message-Id: <20200819061110.1320568-2-alxndr@bu.edu> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest/qmp-cmd-test.c')
0 files changed, 0 insertions, 0 deletions