mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
main-loop: Suppress "I/O thread spun" warnings for qtest
When running under qtest we don't actually have any vcpu threads to be starved, so the warning about the I/O thread spinning isn't relevant, and the way qtest manipulates the simulated clock means the warning is produced a lot as a false positive. Suppress it if qtest_enabled(), so 'make check' output is less noisy. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
cb201b4872
commit
01c22f2cdd
3 changed files with 17 additions and 1 deletions
14
stubs/qtest.c
Normal file
14
stubs/qtest.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* qtest stubs
|
||||
*
|
||||
* Copyright (c) 2014 Linaro Limited
|
||||
* Written by Peter Maydell
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
/* Needed for qtest_allowed() */
|
||||
bool qtest_allowed;
|
Loading…
Add table
Add a link
Reference in a new issue