Setup QEMU and KVM in Void Linux

Here are the steps on how to set this up:

  1. First, become superuser
su
  1. Update
xbps-install -Suy
  1. Now install all the required packages
xbps-install dbus qemu libvirtd virt-manager bridge-utils iptables2
  1. Now link and enable the services
ln -sf /etc/sv/dbus/ /var/service/
ln -sf /etc/sv/libvirtd/ /var/service/
ln -sf /etc/sv/virtlockd/ /var/service/
ln -sf /etc/sv/virtlogd/ /var/service/
  1. Done, Reboot