PCI Passthrough Archives - The Passthrough POST https://passthroughpo.st/faq_category/pci-passthrough/ Your baremetal source for virtual news Sun, 17 Dec 2017 23:21:50 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 140179014 How can I get vfio-pci to bind before my GPU drivers? https://passthroughpo.st/faq-items/can-get-vfio-pci-bind-gpu-drivers/ https://passthroughpo.st/faq-items/can-get-vfio-pci-bind-gpu-drivers/#disqus_thread Thu, 14 Dec 2017 12:53:42 +0000 https://passthroughpo.st/?post_type=avada_faq&p=715 There are actually two methods for this, starting with the preferred method, for the tools that your distribution uses. Method one, module order (preferred): mkinitcpio: In your base configuration (/etc/mkinitcpio.conf), make sure that the vfio modules precede the GPU driver module, as well as ensuring that modconf is present in your hooks, for example: MODULES=(... [...]

The post How can I get vfio-pci to bind before my GPU drivers? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/can-get-vfio-pci-bind-gpu-drivers/feed/ 0 715
What hardware is recommended? https://passthroughpo.st/faq-items/what-hardware-is-recommended/ https://passthroughpo.st/faq-items/what-hardware-is-recommended/#disqus_thread Thu, 14 Dec 2017 04:41:26 +0000 https://passthroughpo.st/?post_type=avada_faq&p=694 For IOMMU groupings, modern (x99+) Intel chipsets work nearly flawlessly. Modern (A300+) AMD chipsets work similarly well. If you are planning on passing a GPU to a guest, and are using a CPU that lacks integrated graphics (without onboard video), the common recommendation is an Nvidia gt710, which is single slot, passively cooled, and can [...]

The post What hardware is recommended? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/what-hardware-is-recommended/feed/ 0 694
What’s the best distro to use as host? https://passthroughpo.st/faq-items/whats-best-distro-use-host/ https://passthroughpo.st/faq-items/whats-best-distro-use-host/#disqus_thread Thu, 14 Dec 2017 04:07:09 +0000 https://passthroughpo.st/?post_type=avada_faq&p=688 The best distro to use for host is the one that you are familiar with, as long as the distro has kernel version 2.6.20 or higher, it will be able to run guests via KVM.

The post What’s the best distro to use as host? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/whats-best-distro-use-host/feed/ 0 688
How do I enable looking glass? https://passthroughpo.st/faq-items/can-enable-looking-glass/ https://passthroughpo.st/faq-items/can-enable-looking-glass/#disqus_thread Thu, 14 Dec 2017 04:01:51 +0000 https://passthroughpo.st/?post_type=avada_faq&p=663 To use looking glass, you need to enable IVSHMEM as follows: Open your xml in an editor: ​# virsh edit {guest} ​Include qemu's XML namespace declaration in the 'domain' root element: <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> In the domain element, add IVSHMEM: <qemu:commandline>   <qemu:arg value='-device'/>   <qemu:arg value='ivshmem-doorbell,chardev=ivshmem,vectors=1'/>   <qemu:arg value='-chardev'/>   <qemu:arg value='socket,path=/tmp/ivshmem_socket,id=ivshmem'/> </qemu:commandline> Start the [...]

The post How do I enable looking glass? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/can-enable-looking-glass/feed/ 0 663
What is performance vs baremetal? https://passthroughpo.st/faq-items/performance-vs-baremetal/ https://passthroughpo.st/faq-items/performance-vs-baremetal/#disqus_thread Thu, 14 Dec 2017 03:38:10 +0000 https://passthroughpo.st/?post_type=avada_faq&p=652 Nearly identical, if you refer to this spreadsheet, compiled by user GrayBoltWolf on level1techs forums, you can see performance data comparisons. Link to the full thread here.

The post What is performance vs baremetal? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/performance-vs-baremetal/feed/ 0 652
What do I need for PCI passthrough? https://passthroughpo.st/faq-items/need-pci-passthrough/ https://passthroughpo.st/faq-items/need-pci-passthrough/#disqus_thread Thu, 14 Dec 2017 03:13:23 +0000 https://passthroughpo.st/?post_type=avada_faq&p=646 The requirements for PCI passthrough are as follows: A CPU with support hardware virtualization (Intel VT-d and VT-x, or AMD-V) A motherboard (and CPU) with support for IOMMU If passing a GPU, it must have a UEFI ROM.

The post What do I need for PCI passthrough? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/need-pci-passthrough/feed/ 0 646
What is PCI passthrough used for? https://passthroughpo.st/faq-items/pci-passthrough-used/ https://passthroughpo.st/faq-items/pci-passthrough-used/#disqus_thread Wed, 13 Dec 2017 21:47:02 +0000 https://passthroughpo.st/?post_type=avada_faq&p=530 PCI Passthrough is most commonly used to pass a dedicated video card from a Linux host to a Windows guest. This way, the Windows virtual machine can handle any graphically-intensive content, like games, rendering- and media editing software, at close-to-baremetal performance. Many people want to switch to Linux as their main operating system, but don't [...]

The post What is PCI passthrough used for? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/pci-passthrough-used/feed/ 0 530
What is PCI passthrough? https://passthroughpo.st/faq-items/what-is-pci-passthrough/ https://passthroughpo.st/faq-items/what-is-pci-passthrough/#disqus_thread Wed, 13 Dec 2017 21:41:08 +0000 https://passthroughpo.st/?post_type=avada_faq&p=529 In short: PCI passthrough (sometimes called VFIO or GPU passthrough) is the act of passing a PCI device directly into a virtual machine. This allows the virtual machine to directly access the PCI device without having to go through any overhead-causing virtualization layers. Essentially, it allows the virtual machine to use the PCI device with [...]

The post What is PCI passthrough? appeared first on The Passthrough POST.

]]>
https://passthroughpo.st/faq-items/what-is-pci-passthrough/feed/ 0 529