From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuY5E-0003kY-0N for qemu-devel@nongnu.org; Mon, 27 Oct 2008 15:49:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuY5C-0003k8-IQ for qemu-devel@nongnu.org; Mon, 27 Oct 2008 15:48:59 -0400 Received: from [199.232.76.173] (port=42322 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuY5C-0003k5-Bg for qemu-devel@nongnu.org; Mon, 27 Oct 2008 15:48:58 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58489) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KuY5B-0002dr-Cd for qemu-devel@nongnu.org; Mon, 27 Oct 2008 15:48:58 -0400 Message-ID: <49061B2B.702@redhat.com> Date: Mon, 27 Oct 2008 21:48:59 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/2] Add code to override IRQ 0 to INTI 2 References: <1225131960.7555.79.camel@beth-laptop> In-Reply-To: <1225131960.7555.79.camel@beth-laptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: eak@us.ibm.com Cc: qemu-devel@nongnu.org Beth Kon wrote: > This patch, provided by Anthony Liguori, maps IRQ0 to INTI2. > > This will cause problems for kvm, which maps interrupts 1:1 without exceptions. While we could add support for remapping, it would mean that older kernels would not be able to support an hpet. Isn't it possible to connect the hpet to pic irq 2 and ioapic irq 2, maintaining the 1:1 mapping? (what's irq 2 connected to now?) -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.