Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save AyakoGFX/dcc632413d2e2d6a0ec516768ab2c072 to your computer and use it in GitHub Desktop.

Select an option

Save AyakoGFX/dcc632413d2e2d6a0ec516768ab2c072 to your computer and use it in GitHub Desktop.
Setup Qemu in Arch Linux Virtual machine
  • QEMU/KVM Dependancies to install:
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat ebtables iptables libguestfs

Note: Make sure you update your system with a $ sudo pacman -Syu BEFORE you install the dependencies

Make Libvirt Group for your user

Edit /etc/libvirt/libvirtd.conf (Change the following Lines)

unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"

Then add your user and create group

sudo usermod -a -G libvirt $(whoami)
newgrp libvirt

And Start Service

sudo systemctl enable --now libvirtd
sudo systemctl start libvirtd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment