From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=32855 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OY12h-0007CR-94 for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:14:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OY12f-0006tu-H9 for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:14:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47074) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OY12f-0006tn-Aw for qemu-devel@nongnu.org; Sun, 11 Jul 2010 14:14:17 -0400 Message-ID: <4C3A09F3.8010304@redhat.com> Date: Sun, 11 Jul 2010 21:14:11 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20100711180910.20121.93313.stgit@localhost6.localdomain6> <20100711180936.20121.35376.stgit@localhost6.localdomain6> In-Reply-To: <20100711180936.20121.35376.stgit@localhost6.localdomain6> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [RFC PATCH 4/5] APIC/IOAPIC EOI callback List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: chrisw@redhat.com, mst@redhat.com, qemu-devel@nongnu.org, kvm@vger.kernel.org, pugs@cisco.com On 07/11/2010 09:09 PM, Alex Williamson wrote: > For device assignment, we need to know when the VM writes an end > of interrupt to the APIC, which allows us to de-assert the interrupt > line and clear the DisINTx bit. Add a new wrapper for ioapic > generated interrupts with a callback on eoi and create an interface > for drivers to be notified on eoi. > You aren't going to get this with kvm's in-kernel irqchip, so we need a new interface there. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.