From: Sander Eikelenboom Subject: Re: Xen-unstable: Xen panic when shutting down HVM guest with PCI passthrough: RIP: e008:[] evtchn_move_pirqs+0x90/0xbf Date: Thu, 5 Jun 2014 18:03:43 +0200 Message-ID: <1617474467.20140605180343@eikelenboom.it> References: <495141585.20140605165458@eikelenboom.it> <539086BC.7070200@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Wsa8r-00076S-2F for xen-devel@lists.xenproject.org; Thu, 05 Jun 2014 16:03:49 +0000 In-Reply-To: <539086BC.7070200@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel@lists.xenproject.org, Jan Beulich List-Id: xen-devel@lists.xenproject.org Thursday, June 5, 2014, 5:03:24 PM, you wrote: > On 05/06/14 15:54, Sander Eikelenboom wrote: > > Hi, > When shutting down a HVM guest with PCI passthrough Xen panics with the panic > below (complete xl-dmesg attached). > # addr2line -e xen-syms ffff82d0801099b1 > /usr/src/new/xen-unstable/xen/common/event_channel.c:1326 > which is: > pirq_set_affinity(d, chn->u.pirq.irq, mask); > > > This is presumably an ordering issue on destroy. > > Does reverting bac6334b5 fix the problem? > > ~Andrew Hi Andrew, That seems to have been a good hunch, after reverting that commit i have been able to repeatedly create and shutdown the guest with passthrough, without a crash. -- Sander