From: Keir Fraser Subject: Re: MSI causing softpanics in guest Date: Tue, 23 Sep 2008 09:30:19 +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 , Anish Bhatt Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org pciback should be returning the number which the domU should present to Xen via EVTCHNOP_bind_pirq. Anything else would be meaningless. DomU then gets itself a Linux irq by 'irq = evtchn_map_pirq(-1, pirq_from_pciback)'. -- Keir On 23/9/08 09:26, "Shan, Haitao" wrote: > Yes. I think so. > But here is another problem, current code in dom0 returns irq number (irq > number has meaning only in its domain, am I right?) not pirq number to PV domU > guest. I am not sure whether this number can be used in evtchn_map_pirq in PV > domU. Seems some modification is needed, I believe.