Skip to content

Instantly share code, notes, and snippets.

@joshskidmore
Created November 17, 2017 18:12
Show Gist options
  • Save joshskidmore/f666500f0ec37130e4ba614178a9a58f to your computer and use it in GitHub Desktop.
Save joshskidmore/f666500f0ec37130e4ba614178a9a58f to your computer and use it in GitHub Desktop.

qemu + libvirt Install on Arch

Install Packages

Note: The packages ebtables, dnsmasq, bridge-utils might not be needed.

pacaur -S uml_utilities qemu virtmanager virt-manager-qt5 ebtables dnsmasq bridge-utils

Edit /etc/libvirt/qemu.conf

Change the group= line to group="kvm".

Enable + Start systemd Daemons

sudo systemctl enable libvirtd
sudo systemctl start libvirtd virtlockd virtlogd

Random Things

sudo virsh net-start default
sudo virsh net-autostart default

Notes

GUI is sudo virt-manager (seems as if it has to be ran as root)

OS X Stuff

Follow this guide.

I needed to edit the XML config (in virt-manager -> "Virtual Machine Details" -> "i" icon):

  • CPU -> "Choose Hypervisor Default"
  • Remove extra keyboard and mouse (right click, "Remove")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment