From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaQKu-0001JB-4f for qemu-devel@nongnu.org; Mon, 10 Aug 2009 04:34:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaQKp-0001EY-D5 for qemu-devel@nongnu.org; Mon, 10 Aug 2009 04:34:31 -0400 Received: from [199.232.76.173] (port=43908 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaQKo-0001ET-Nk for qemu-devel@nongnu.org; Mon, 10 Aug 2009 04:34:27 -0400 Received: from mx2.redhat.com ([66.187.237.31]:56290) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MaQKo-0001eD-9l for qemu-devel@nongnu.org; Mon, 10 Aug 2009 04:34:26 -0400 Message-ID: <4A7FDB8B.3000504@redhat.com> Date: Mon, 10 Aug 2009 10:34:19 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 1/2] Route PC irqs to ISA bus instead of i8259 directly References: <1249836296-13288-1-git-send-email-avi@redhat.com> <1249836296-13288-2-git-send-email-avi@redhat.com> In-Reply-To: <1249836296-13288-2-git-send-email-avi@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On 08/09/09 18:44, Avi Kivity wrote: > A PC has its motherboard IRQ lines connected to both the PIC and IOAPIC. > Currently, qemu routes IRQs to the PIC which then calls the IOAPIC, an > incestuous arrangement. In order to clean this up, create a new ISA IRQ > abstraction, and have devices raise ISA IRQs (which in turn raise the i8259 > IRQs as usual). There are isa-bus qdev patches in anthonys patch queue. I think it makes sense to do this cleanup on top of the isa-bus patches. Maybe it makes sense to integrate it more, i.e. have the irqs as element in IsaBus ... cheers, Gerd