<div dir="ltr">I'm using the following guide: <a href="https://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html" target="_blank">https://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html</a>.  I'm having trouble adapting some of the Fedora focused instructions for use in Arch.<br><br><b>1. Dracut</b><br><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.2px;line-height:18.48px">Dracut isn't used in Arch but the mkinitcpio</span> is.  You're asked to insert <span style="color:rgb(34,34,34);font-size:13.2px;line-height:18.48px"><i>add_drivers+="vfio vfio_iommu_type1 vfio_pci vfio_virqfd" </i></span>in: <i>/etc/dracut.conf.d/local.conf</i>.  Farther down, I'm supposed to insert <span style="color:rgb(34,34,34);font-size:13.2px;line-height:18.48px"><i>install_items+="/sbin/vfio-pci-override-vga.sh /usr/bin/find /usr/bin/dirname" </i>in:<i> </i></span><i>/etc/dracut.conf.d/local.conf</i>.   <span style="color:rgb(34,34,34);font-size:13.2px;line-height:18.48px"><br></span><br>Should I instead add these lines to a modprobe.d conf file or should I add it to the modules line in <i>/etc/mkinitcpio.conf</i>?<br><b><br>2. driver_override</b><br>My bash-foo isn't very good and I need to adapt the following script (see below) so that it points to the correct directories. In Arch, the directory for the GPU (02:00.0) and GPU audio (02:00.1) are here: <i>/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0/</i> & <i>/sys/devices/pci0000:00/0000:00:02.0/0000:02:00.1/</i><br><br><i>    #!/bin/sh<br>    DEVS="0000:02:00.0 0000:02:00.1"<br>    for DEV in $DEVS;<br>    do echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override<br>    done<br> <br>    modprobe -i vfio-pci</i><br><br>Hope to hear from you soon!<br><br>Best,<br>Garland Key</div>