From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvQDC-0004On-Re for qemu-devel@nongnu.org; Fri, 13 Jun 2014 08:04:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvQD3-0003cJ-3s for qemu-devel@nongnu.org; Fri, 13 Jun 2014 08:04:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvQD2-0003aN-Rc for qemu-devel@nongnu.org; Fri, 13 Jun 2014 08:03:53 -0400 Message-ID: <539AE894.4010206@redhat.com> Date: Fri, 13 Jun 2014 14:03:32 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <967163394.17793099.1402660803135.JavaMail.root@openwide.fr> In-Reply-To: <967163394.17793099.1402660803135.JavaMail.root@openwide.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH V2 5/5] cpu_exec: Print to console if the guest is late List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Tanase Cc: kwolf@redhat.com, peter maydell , jeremy rosen , aliguori@amazon.com, wenchaoqemu@gmail.com, quintela@redhat.com, qemu-devel@nongnu.org, mjt@tls.msk.ru, mst@redhat.com, stefanha@redhat.com, armbru@redhat.com, lcapitulino@redhat.com, michael@walle.cc, camille begue , alex@alex.org.uk, crobinso@redhat.com, pierre lemagourou , afaerber@suse.de, rth@twiddle.net Il 13/06/2014 14:00, Sebastian Tanase ha scritto: >> > >> > Perhaps stop printing the message after the first 50-100 times? >> > >> > Paolo >> > > Thank you very much for your feedback. > Maybe adding a monitor command (info drift) would be better ? Then > the user would not be spammed by printfs. I think some spamming is okay, as long as it's not going on forever. Perhaps even 10 times is enough (I'm not going to ask you to introduce a rate limiting like printk's :)). Adding this to the monitor can be useful even separately from the stderr spam. Perhaps you can add the current drift to "info jit" if you feel it is useful. You are user #0 of the feature, so your guess is better than mine. Paolo