fahimeh soltaninejad
2012-Dec-11 15:40 UTC
hw to assign devices with VT-d in (fedora with Xen hypervisor)
hi, 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? thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Pasi Kärkkäinen
2012-Dec-12 18:05 UTC
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
Pasi Kärkkäinen
2012-Dec-12 18:05 UTC
Re: 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
Zhang, Xiantao
2012-Dec-13 00:38 UTC
Re: hw to assign devices with VT-d in (fedora with Xen hypervisor)
You can refer to this wiki page: http://wiki.xensource.com/xenwiki/VTdHowTo . If you meet any issues with it, report it back. Xiantao From: xen-devel-bounces@lists.xen.org [mailto:xen-devel-bounces@lists.xen.org] On Behalf Of fahimeh soltaninejad Sent: Tuesday, December 11, 2012 11:40 PM To: xen-devel@lists.xen.org Subject: [Xen-devel] hw to assign devices with VT-d in (fedora with Xen hypervisor) hi, 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? thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel