From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: Issue with PCI-passthrough and pvops Date: Mon, 17 Oct 2011 12:40:20 -0400 Message-ID: <20111017164020.GE19684@phenom.dumpdata.com> References: <1318865791.25056.28.camel@Palantir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1318865791.25056.28.camel@Palantir> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dario Faggioli Cc: xen-devel List-Id: xen-devel@lists.xenproject.org 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?