[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] hw to assign devices with VT-d in (fedora with Xen hypervisor)



On Tue, Dec 11, 2012 at 07:10:20PM +0330, fahimeh soltaninejad wrote:
>    hi,

Hello,

>    i have installed Xen hypervisor on fedora 17 and now i want to assign
>    devices directly to a guest OS through VT-d. does any one know how can i
>    do it?
>    i found some solutions for that but those had some steps for when
>    installing Xen while i installed Xen on fedora. i am going to know,can i
>    assign device to a guest OS through VT-d capability with installed Xen on
>    fedora 17?
>

This question is suitable for xen-users mailinglist, so please drop xen-devel 
from future replies..

There's nothing Fedora 17 specific in Xen PCI passthru really. 
You need to:

1) Enable IOMMU in BIOS (VT-d)
2) Make sure IOMMU is enabled in Xen (iommu=1 xen cmdline option) and verify it 
gets enabled from hypervisor dmesg (xm dmesg).
3) Configure xen-pciback driver in dom0 kernel to "hide" the PCI devices you 
want to passthru.
4) Make sure "xm pci-list-assignable" works and lists your PCI devices.
5) Set up the VM cfgfile (/etc/xen/<vm>) with PCI passthru.
6) Done.


-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.