qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [6391] Fix nographic mode and VNC


From: Samuel Thibault
Subject: Re: [Qemu-devel] [6391] Fix nographic mode and VNC
Date: Wed, 21 Jan 2009 21:29:04 +0100
User-agent: Mutt/1.5.12-2006-07-14

Blue Swirl, le Wed 21 Jan 2009 22:16:15 +0200, a écrit :
> On 1/21/09, Samuel Thibault <address@hidden> wrote:
> > Blue Swirl, le Wed 21 Jan 2009 19:28:14 +0000, a écrit :
> >
> > > +static void nographic_update(void *opaque)
> >  > +{
> >  > +    uint64_t interval = 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 second
> >  when the window is minimized.
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]