From: Keir Fraser Subject: Re: [PATCH] Re: Xen crash on dom0 shutdown Date: Thu, 25 Sep 2008 14:39:33 +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: "Shan, Haitao" , 'Jan Beulich' Cc: "Jiang, Yunhong" , "'xen-devel@lists.xensource.com'" List-Id: xen-devel@lists.xenproject.org On 25/9/08 13:42, "Shan, Haitao" wrote: > The actually call trace is do_physdev_op->pirq_guest_unbind, which definitely > is in unmap_pirq hypercall for MSI interrupt. This will happen when dom0 first > unbind guest pirq and then unmap that pirq. I think this little patch will fix > the problem. But I am not quite sure whether this will break the intension of > cs 18539. Your patch is along the write lines but should actually check for IRQ_GUEST flag. I've applied a bigger patch as 18547. It also I think simplifies the logic of 18539 in a number of respects, especially by splitting pirq_guest_unbind() into two interface functions. Let me know how you get on with it! -- Keir