WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Issue with PCI-passthrough and pvops

To: Dario Faggioli <raistlin@xxxxxxxx>
Subject: Re: [Xen-devel] Issue with PCI-passthrough and pvops
From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Date: Mon, 17 Oct 2011 12:40:20 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 Oct 2011 09:48:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1318865791.25056.28.camel@Palantir>
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: <1318865791.25056.28.camel@Palantir>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Oct 17, 2011 at 05:36:27PM +0200, Dario Faggioli wrote:
> Hi everyone,
> 
> I'm trying to setup PCI-passthrough for a network card on a testbox.
> With HVM, everything seems to work, while if I try with a pv-guest the
> domain crashes!
> 
> Here's the thing:
> --
> # xl pci-list-assignable-devices 
> 0000:07:00.0
> 0000:07:00.1
> 
> # cat xen/VMs/Debian-squeeze.pv | grep pci=
> #   pci=[ '[SSSS:]BB:DD.F[,option1[,option2[...]]]', ... ]
> pci=[ '07:00.0' ]
> 
> # xl create xen/VMs/Debian-squeeze.pv
> Parsing config file xen/VMs/Debian-squeeze.pv
> Daemon running with PID 5588
> 
> # xl list
> Name                                        ID   Mem VCPUs    State   Time(s)
> Domain-0                                     0   750    16     r-----    
> 2205.3
> Debian-squeeze_pv                            3   128     2     ---sc-      
> 19.8
> --
> 
> Again, the very same config and PCI device for an HVM domain starts, and
> I can see and bring up the NIC.
> 
> What am I doing wrong?

Do you have 'iommu=soft' in your guest config?

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel