From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/2] KVM: Handle interrupts for PCI passthrough devices Date: Fri, 02 May 2008 16:16:09 +0300 Message-ID: <481B1419.8060009@qumranet.com> References: <1207817334-31775-1-git-send-email-amit.shah@qumranet.com> <200804222258.40644.amit.shah@qumranet.com> <481AEE65.2010303@qumranet.com> <200805021835.47565.amit.shah@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: chrisw@redhat.com, kvm-devel@lists.sourceforge.net, allen.m.kay@intel.com, virtualization@lists.linux-foundation.org, gcosta@redhat.com, BENAMI@il.ibm.com To: Amit Shah Return-path: In-Reply-To: <200805021835.47565.amit.shah@qumranet.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Amit Shah wrote: > >> Seems to me the only choice here is to mask the interrupt at the ioapic >> level, wait until the guest acks the interrupt, then unmask the interrupt. >> > > OK; will that create problems if the line is shared? > > It will not work with shared interrupts (unless all users of the interrupt are in the same guest). -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone