summaryrefslogtreecommitdiffstats
path: root/tests/qtest/vhost-user-test.c
diff options
context:
space:
mode:
authorPeter Xu2020-10-21 23:27:21 +0200
committerDr. David Alan Gilbert2020-10-26 17:15:04 +0100
commita47295014de56e108f359ec859d5499b851f62b8 (patch)
tree747063a0318eee9983167e912f15332f9c0a448a /tests/qtest/vhost-user-test.c
parentmigration/postcopy: Release fd before going into 'postcopy-pause' (diff)
downloadqemu-a47295014de56e108f359ec859d5499b851f62b8.tar.gz
qemu-a47295014de56e108f359ec859d5499b851f62b8.tar.xz
qemu-a47295014de56e108f359ec859d5499b851f62b8.zip
migration-test: Only hide error if !QTEST_LOG
The errors are very useful when debugging qtest failures, especially when QTEST_LOG=1 is set. Let's allow override MigrateStart.hide_stderr when QTEST_LOG=1 is specified, because that means the user wants to be verbose. Not very nice to introduce the first QTEST_LOG env access in migration-test.c, however it should be handy. Without this patch, I was hacking error_report() when debugging such errors. Let's make things easier. Signed-off-by: Peter Xu <peterx@redhat.com> Message-Id: <20201021212721.440373-7-peterx@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/qtest/vhost-user-test.c')
0 files changed, 0 insertions, 0 deletions