From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9X1Y-0008Dt-FQ for qemu-devel@nongnu.org; Wed, 14 Aug 2013 05:05:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9X1S-0001Om-Ag for qemu-devel@nongnu.org; Wed, 14 Aug 2013 05:05:48 -0400 Received: from goliath.siemens.de ([192.35.17.28]:25558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9X1R-0001Oe-LL for qemu-devel@nongnu.org; Wed, 14 Aug 2013 05:05:41 -0400 Message-ID: <520B4859.9050205@siemens.com> Date: Wed, 14 Aug 2013 11:05:29 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <5209E6A1.6060308@siemens.com> <20130813134559.GA29990@stefanha-thinkpad.redhat.com> <520A3EEF.5050509@siemens.com> <20130814085205.GB14914@stefanha-thinkpad.redhat.com> In-Reply-To: <20130814085205.GB14914@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Using aio_poll for timer carrier threads List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , qemu-devel , liu ping fan , Alex Bligh , Paolo Bonzini , MORITA Kazutaka , Richard Henderson On 2013-08-14 10:52, Stefan Hajnoczi wrote: > On Tue, Aug 13, 2013 at 04:13:03PM +0200, Jan Kiszka wrote: >> On 2013-08-13 15:45, Stefan Hajnoczi wrote: >>> On Tue, Aug 13, 2013 at 09:56:17AM +0200, Jan Kiszka wrote: >>> The details depend on your device, do you have a git repo I can look at >>> to understand your device model? >> >> Pushed my hacks here: >> >> git://git.kiszka.org/qemu.git queues/rt.new3 > > Excellent, thanks! Are you calling qemu_raise_irq() outside the global > mutex and how is it protected? By luck and via many exceptions, specifically by disabling of HPET support (to avoid that it is involved in IRQ routing - or even used in legacy mode) and by relying on the direct delivery to the kernel in KVM mode. Yes, IRQ delivery is still a huge construction site for BQL-free device models. Jan -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux