]> git.proxmox.com Git - mirror_qemu.git/commit - util/main-loop.c
main-loop: Suppress "I/O thread spun" warnings for qtest
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Mar 2014 14:17:29 +0000 (14:17 +0000)
committerAndreas Färber <afaerber@suse.de>
Thu, 13 Mar 2014 20:36:50 +0000 (21:36 +0100)
commit01c22f2cdd4fcf02276ea10f48253850a5fd7259
treecbdb89f66a43670a04f23d3c5976577498332254
parentcb201b4872f16dfbce63f8648b2584631e2e965f
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>
main-loop.c
stubs/Makefile.objs
stubs/qtest.c [new file with mode: 0644]