From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPeF8-0006hT-MR for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:39:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPeF6-0006hH-6e for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:39:45 -0500 Received: from [199.232.76.173] (port=59497 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPeF6-0006hE-2M for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:39:44 -0500 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:35186) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPeF5-0004G5-PG for qemu-devel@nongnu.org; Wed, 21 Jan 2009 09:39:43 -0500 Received: from caffeine.csclub.uwaterloo.ca (localhost [127.0.0.1]) by caffeine.csclub.uwaterloo.ca (Postfix) with ESMTP id 22AA473E1B for ; Wed, 21 Jan 2009 09:39:43 -0500 (EST) Date: Wed, 21 Jan 2009 09:39:43 -0500 Subject: Re: [Qemu-devel] ppc emulation and interrupts Message-ID: <20090121143942.GF29175@csclub.uwaterloo.ca> References: <49770BB6.9050707@eu.citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49770BB6.9050707@eu.citrix.com> From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) 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 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? Even with the latest patches, sdl is still slow for ppc emulation. Not using much cpu either of course. -- Len Sorensen