From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPiy9-0002LJ-HM for qemu-devel@nongnu.org; Wed, 21 Jan 2009 14:42:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPiy8-0002Jt-So for qemu-devel@nongnu.org; Wed, 21 Jan 2009 14:42:32 -0500 Received: from [199.232.76.173] (port=60383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPiy8-0002Jf-EA for qemu-devel@nongnu.org; Wed, 21 Jan 2009 14:42:32 -0500 Received: from fk-out-0910.google.com ([209.85.128.187]:28913) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPiy7-0004YY-NG for qemu-devel@nongnu.org; Wed, 21 Jan 2009 14:42:32 -0500 Received: by fk-out-0910.google.com with SMTP id z23so356144fkz.2 for ; Wed, 21 Jan 2009 11:42:30 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <49777678.1090406@eu.citrix.com> References: <49770BB6.9050707@eu.citrix.com> <20090121143942.GF29175@csclub.uwaterloo.ca> <49777678.1090406@eu.citrix.com> Date: Wed, 21 Jan 2009 21:42:29 +0200 Message-ID: Subject: Re: [Qemu-devel] ppc emulation and interrupts From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 1/21/09, Stefano Stabellini wrote: > Lennart Sorensen wrote: > > > On Wed, Jan 21, 2009 at 11:49:10AM +0000, Stefano Stabellini wrote: > >> Hi all, > >> one of the recent problems, noticed after the displaystate change, > >> affects ppc emulation only and is due to the fact that none on ppc > >> emulation is issuing any interrupt request of the CPU_INTERRUPT_EXIT > >> kind if the gui timer is disabled. > >> Hence qemu never leaves the loop in cpu-exec.c:cpu_exec. > >> If the gui timer is enabled qemu is able to leave the loop because the > >> condition (interrupt_request & CPU_INTERRUPT_EXIT) is true when the > >> timer is triggered. > >> I think this is a problem with the ppc emulation but if you ppc guys > >> need the gui timer to be always on, I can arrange for it to be. > >> Regards, > > > > So does this explain why vnc runs fast and sdl runs slow? > > > > No, this bug prevents qemu from working when only vnc is enabled. > > > > > Even with the latest patches, sdl is still slow for ppc emulation. Not > > using much cpu either of course. > > > > > > I'll investigate more on this. > As I said before, sdl shouldn't be noticeable slower now, unless you are > using remote X. > I have just tried debian ppc and I get similar performances using vnc > (localhost) or sdl (local X server). I just committed a fix, now both -nographic and VNC work for Sparc64 and VNC on PPC.