From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OERQr-00042t-Er for qemu-devel@nongnu.org; Tue, 18 May 2010 14:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OERQp-0002Dh-Ox for qemu-devel@nongnu.org; Tue, 18 May 2010 14:22:21 -0400 Received: from hall.aurel32.net ([88.191.82.174]:37271) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OERQl-0002D0-7d for qemu-devel@nongnu.org; Tue, 18 May 2010 14:22:19 -0400 Date: Tue, 18 May 2010 20:22:02 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] [PPC] [KVM] Make iothread work Message-ID: <20100518182201.GE31346@ohm.aurel32.net> References: <1271625017-4946-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1271625017-4946-1-git-send-email-agraf@suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-devel Developers On Sun, Apr 18, 2010 at 11:10:17PM +0200, Alexander Graf wrote: > When running with --enable-io-thread the timer we have doesn't help, > because it doesn't wake up the CPU thread. So instead we need to > actually kick it. > > While at it I refined the logic a bit to not dumbly trigger a timer > every 500ms, but rather do it more often after an interrupt got injected. > If there's no level based interrupt to be expected, we don't need the > timer anyways. > > This makes qemu-system-ppc with --enable-io-thread work when using KVM. > > Signed-off-by: Alexander Graf > --- > target-ppc/kvm.c | 30 +++++++++++++++--------------- > 1 files changed, 15 insertions(+), 15 deletions(-) Thanks, applied. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net