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] xen crash related to pci passthrough

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xen crash related to pci passthrough
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 27 May 2010 21:02:55 +0100
Cc: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Thu, 27 May 2010 13:04:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFECD2A.6050002@xxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr91hCvr6c0bSGmSqCSCdSboobIegAAYe3Y
Thread-topic: [Xen-devel] xen crash related to pci passthrough
User-agent: Microsoft-Entourage/
On 27/05/2010 20:51, "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:

>    3. attach device to PV domU
>       dom0# xl pci-attach f13pv64 0000:03:00.0
>    4. unbind from pciback
>       dom0# echo 0000:03:00.0 > /sys/bus/pci/drivers/pciback/unbind
>    5. rmmod driver in domU
>       domU# rmmod e1000e
>    6. Crash!
> The device in question is an Intel 82574L ethernet controller, using
> msi-x interrupts.

What happens if you pci-detach before unbinding from pciback? Not that Xen
should crash of course, but a crash resulting from a mistake in detach
ordring in dom0 would be less worrying than some alternatives.

 -- Keir

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>