This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] MSI causing softpanics in guest

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxxxx>, Anish Bhatt <anish@xxxxxxxxxx>
Subject: RE: [Xen-devel] MSI causing softpanics in guest
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Tue, 23 Sep 2008 16:33:36 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 23 Sep 2008 01:33:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C4FE67AB.1D79B%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <F6473715D25C9E46A5515027E5482F100887BDB007@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C4FE67AB.1D79B%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-topic: [Xen-devel] MSI causing softpanics in guest
Yes, exactly the same as what I am thinking.

Shan Haitao

-----Original Message-----
From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
Sent: 2008年9月23日 16:30
To: Shan, Haitao; Jan Beulich; Anish Bhatt
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] MSI causing softpanics in guest

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" <haitao.shan@xxxxxxxxx> 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.

Xen-devel mailing list