Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPjhI-0002GH-Or for qemu-devel@nongnu.org; Wed, 21 Jan 2009 15:29:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPjhI-0002FG-3C for qemu-devel@nongnu.org; Wed, 21 Jan 2009 15:29:12 -0500 Received: from [199.232.76.173] (port=42693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPjhH-0002Ep-OM for qemu-devel@nongnu.org; Wed, 21 Jan 2009 15:29:11 -0500 Received: from solo.fdn.fr ([80.67.169.19]:34497) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LPjhH-0000iM-8L for qemu-devel@nongnu.org; Wed, 21 Jan 2009 15:29:11 -0500 Received: from const (reverse-89.fdn.fr [80.67.176.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTP id CC0AC44E75 for ; Wed, 21 Jan 2009 21:29:09 +0100 (CET) Received: from samy by const with local (Exim 4.69) (envelope-from ) id 1LPjhA-0003IY-Nq for qemu-devel@nongnu.org; Wed, 21 Jan 2009 21:29:04 +0100 Date: Wed, 21 Jan 2009 21:29:04 +0100 From: Samuel Thibault Subject: Re: [Qemu-devel] [6391] Fix nographic mode and VNC Message-ID: <20090121202904.GE5237@const.famille.thibault.fr> References: <20090121200345.GB5237@const.famille.thibault.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Blue Swirl, le Wed 21 Jan 2009 22:16:15 +0200, a =E9crit : > On 1/21/09, Samuel Thibault wrote: > > Blue Swirl, le Wed 21 Jan 2009 19:28:14 +0000, a =E9crit : > > > > > +static void nographic_update(void *opaque) > > > +{ > > > + uint64_t interval =3D GUI_REFRESH_INTERVAL; > > > + > > > + qemu_mod_timer(nographic_timer, interval + qemu_get_clock(rt_= clock)); > > > +} > > > > > > Maybe less often than 33 times per second? SDL uses 2 times per seco= nd > > when the window is minimized. >=20 > I just tried: it's not enough, the serial console is unusably slow. Mmm, I haven't followed everything so I probably misunderstand, but I guess you are talking about a serial console on stdio, shouldn't we already be monitoring the stdin fd to break the cpu emulation loop? It'd be a shame to have to poll every 30ms all the time because of the cpu emulation loop, even when we can just select in main_loop_wait because the cpu is idle. Samuel