From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] xen: do not loose level interrupt notifications Date: Thu, 27 Oct 2011 13:17:16 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" , Stefan Bader , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 27/10/2011 12:42, "Stefano Stabellini" wrote: >> Is PV-HVM so different? > > Yes, it is. In the PV on HVM case we need to reassert an emulated > interrupt if the guest EOIs it without quenching the interrupt in the > ISR. > We are doing it already in the emulated code path but we are not doing > it for interrupts that have been remapped into pirqs. > > That said, if we don't care about the PV case we can simplify the patch, > I am appending a new one that only takes care of the PV on HVM case. Ah yes, when we are *emulating* an INTx line, either for an emulated device or because we are doing MSI-INTx emulation, we do have to remember to reassert. That makes sense. -- Keir