From: Sander Eikelenboom Subject: Re: Xen-unstable: pci-passthrough "irq 16: nobody cared" on HVM guest shutdown on irq of device not passed through. Date: Fri, 26 Sep 2014 11:06:02 +0200 Message-ID: <1828218038.20140926110602@eikelenboom.it> References: <885160611.20140925163649@eikelenboom.it> <54244CC502000078000390EF@mail.emea.novell.com> <938695265.20140925174939@eikelenboom.it> <54245B93020000780003922A@mail.emea.novell.com> <1408854407.20140925190202@eikelenboom.it> <1722134266.20140925204551@eikelenboom.it> <542529AE02000078000396BD@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XXRTf-0000eP-3z for xen-devel@lists.xenproject.org; Fri, 26 Sep 2014 09:06:11 +0000 In-Reply-To: <542529AE02000078000396BD@mail.emea.novell.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: Jan Beulich Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Friday, September 26, 2014, 8:54:06 AM, you wrote: >>>> On 25.09.14 at 20:45, wrote: >> Hrmm there seems to be at least one omission in the debug-keys logging code, >> a >> delivery-mode other than "fixed or lowest" would never be shown: >> msi.c:1311 >> data & MSI_DATA_DELIVERY_LOWPRI ? "lowest" : "fixed", > Because only these two are valid with MSI? >> However if it would be anything else than lowest, fixed would be shown. >> Since the debug keys output shows lowest, it should be correct .. >> But how does it become delivery mode 3 during the guest start, at the moment >> >> that vmsi_deliver() is called which give the "Unsupported MSI delivery mode >> 3" message ? > Don't mix up host and guest MSI please. If you grepped for the > origin of the message, you should have found it to come from > vmsi_deliver(). And if you go into that function you'll see that - > as said above - only lowest priority and fixed delivery modes get > accepted. I was assuming it to be a "set state", so it would have been visible in the logs when dumping with the debug-keys, however as i understand now this is the MSI inside the guest and not the host and the logs only show the host state of affairs. > Jan