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-users

RE: [Xen-users] pci passthrough under xen-3.3 without VT-d

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] pci passthrough under xen-3.3 without VT-d
From: "Benjamin Huntsman" <BHuntsman@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Dec 2008 16:03:31 -0800
Delivery-date: Mon, 15 Dec 2008 16:04:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <621112A569DAE948AD25CCDCF1C075331AB3E0@xxxxxxxxxxxxxxxxx><621112A569DAE948AD25CCDCF1C075331AB3E1@xxxxxxxxxxxxxxxxx> <1e16a9ed0812151547g6e353e8au2871cb02694dc0ae@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclfD31mNOtuYehfTWeicsnp83FjzQAARatG
Thread-topic: [Xen-users] pci passthrough under xen-3.3 without VT-d
>Yes, as long as you understand the security implications (i.e driver
>DMA to memory it doesn't own)

No worries... this isn't production, so who cares! :)


>I am pretty sure that you don't want the iommu line in here, since you
>don't have an iommu

Okay, I'll take it out, but I had put it in originally because it wasn't 
working...

>instead of doing the modprobe below, you could instead pass the pciback.hide
>on the dom0 command line. It should give a similar effect, but still
>worth a shot.

pciback.hide only works if you have pciback built static into the kernel.  I 
don't.  I have it built as a module.  Because of this, you have to make it 
preload via the initrd, and it's config gets specified in /etc/modprobe.conf.  
I might try building it in static, though I don't really like that option... :)

>I think you are getting this error because you passed iommu=1

It was giving that error before I added iommu=1.  I added it because of this 
error in the first place, as I had read that it was required in order to handle 
PCI-passthrough.


>You can't pass to a HVM domain without VT-d. You can only pass to a PV guest.

First, I want to thank you for responding, as I appreciate your assistance.  
But, are you 100% sure of that?  I've never seen that written so 
black-and-white in any of the Xen documentation...  From what I could cull from 
the docs and mail lists, it might not work correctly if the guest doesn't know 
how to talk to Xen, the hvm qemu-dm ought to at least recognize it's got some 
extra PCI card...


>Hope that helps.
>
>Cheers,
>Todd

Indeed!  Many thanks!  Take care!

-Ben


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