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] XCP: PCI pass through Howto

To: 'James Troup' <james@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] XCP: PCI pass through Howto
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Wed, 24 Feb 2010 18:30:10 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 24 Feb 2010 10:31:36 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <14088243.24.1267016264555.JavaMail.root@zimbra5>
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: <11015963.21.1267015624833.JavaMail.root@zimbra5> <14088243.24.1267016264555.JavaMail.root@zimbra5>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acq1UPgu/j0rBQaXScuGxCZY12ycvwALfutg
Thread-topic: [Xen-users] XCP: PCI pass through Howto

Hi James,

 

That should be it… but it is a bit experimental J

 

The device should be hidden from dom0 when the VM is started. I imagine this might fail if the device is in use.

 

I last tested it with HVM (SLES10 IIRC) on a VT-d system, after adding ioemmu=1 onto the xen commandline (it’s not the default). It ought to work with PV as-is.

 

Could you give more details about what you tried? You might find useful information in /var/log/xensource.log, especially if you grep for “PCI”.

 

Cheers,

Dave

 

From: James Troup [mailto:james@xxxxxxxxxxxxxxxxx]
Sent: 24 February 2010 12:58
To: Dave Scott
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] XCP: PCI pass through Howto

 

Hi Dave,
is there any more to it than that?

Do I have to hide the device from, dom0.

I tried as you suggested but I cannot see the device in domU

Am I missing something?

Does this rely on VT-d ?
Does it only apply to HVM?

Thanks,
James

----- Original Message -----
From: "Dave Scott" <Dave.Scott@xxxxxxxxxxxxx>
To: "James Troup" <james@xxxxxxxxxxxxxxxxx>
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, 24 February, 2010 8:33:22 PM
Subject: RE: [Xen-users] XCP: PCI pass through Howto


Hi,

 

The only documentation is currently in the code L

 

Try a command like:

 

xe vm-param-set uuid=<uuid> other-config:pci=0/0000:00:00:0

 

and then start the VM. (Change that PCI bus path to be the one you actually want to use)

 

http://xenbits.xen.org/xapi/xen-api.hg?file/a8decf9d3bee/ocaml/xapi/vmops.ml (line 483, pcidevs_of_vm)

 

Cheers,

Dave

 

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Troup
Sent: 24 February 2010 07:18
To: xen-users
Subject: [Xen-users] XCP: PCI pass through Howto

 

Hi,
where can I find out about the experimental PCI pass-through in XCP?

I do not seem to be able to find any documentation.

Thanks.

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