Virtualization scripts for Linux hosts.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Martins Eglitis b6d5d76208 Updated readme 2 years ago
config Minor updates 2 years ago
images First iteration 4 years ago
scripts Minor bug fixes 2 years ago
systems Update the scripts 3 years ago
LICENSE Update the scripts 3 years ago Updated readme 2 years ago


Virtualization scripts and configs for Arch Linux hosts using KVM, QEMU, VFIO and OVMF.


  • OS: Arch Linux running linux-vfio kernel.
  • CPU: Intel i5 6600K.
  • GPU: Gigabyte Radeon RX 460.
  • Mobo: Asus Z170i.
  • Storage: Samsung 850 EVO 500GB.
  • Memory: 16GB Corsair DDR4.


  • linux-vfio
  • qemu
  • virtio-win
  • ovmf


  • You can easy simlink the config files using stow -t / boot mkinitcpio and then mkinitcpio -p linux-vfio. Note that the config files provided and the default ones are not the same, e.g. the mkinitcpio-vfio.conf file.
  • Newer Arch Linux kernels have the modules included by default, so there is no need to use linux-vfio.
  • Use virtio drivers for both block devices and network. For example, the ping went down from 250 to 50.
  • Mouse and keyboard passthrough solved the terrible lag that was present in the emulation mode.
  • Make sure virtualization is supported and enabled in your firmware (UEFI). The option was hidden in a submenu in my case.
  • Be patient as it took more than 10 minutes for the guest to recognize the GPU, displays, sound driver, to install updates, etc.