Received: from eggs.gnu.org ([2001:4830:134:3::10]:38087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO9fF-0008Bt-HB for qemu-devel@nongnu.org; Thu, 13 Mar 2014 13:43:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WO9f8-0007Dj-Vg for qemu-devel@nongnu.org; Thu, 13 Mar 2014 13:43:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WO9f8-0007CH-N0 for qemu-devel@nongnu.org; Thu, 13 Mar 2014 13:43:22 -0400 Date: Thu, 13 Mar 2014 18:43:16 +0100 From: Stefan Hajnoczi Message-ID: <20140313174316.GD9810@stefanha-thinkpad.redhat.com> References: <1394720249-13318-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1394720249-13318-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH] main-loop: Suppress "I/O thread spun" warnings for qtest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= , patches@linaro.org On Thu, Mar 13, 2014 at 02:17:29PM +0000, Peter Maydell wrote: > 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 > --- > main-loop.c | 3 ++- > stubs/Makefile.objs | 1 + > stubs/qtest.c | 14 ++++++++++++++ > 3 files changed, 17 insertions(+), 1 deletion(-) > create mode 100644 stubs/qtest.c Reviewed-by: Stefan Hajnoczi