Skip to content

Instantly share code, notes, and snippets.

@lordofwizard
Created April 3, 2024 19:16
Show Gist options
  • Save lordofwizard/35e39955d70da70ddb4af4ca02afcd98 to your computer and use it in GitHub Desktop.
Save lordofwizard/35e39955d70da70ddb4af4ca02afcd98 to your computer and use it in GitHub Desktop.
type title description tags coverImage
Zettel
Installing QEMU on Arch Linux
Tried this on Anton
Linux
VirtualMachines
Arch

Tried this on April 4, 2024

Install Packages

sudo pacman -Syy
sudo pacman -S archlinux-keyring
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode ebtables iptables libguestfs

up KVM Services

sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service

Check Status

sudo systemctl status libvirtd.service

Open Configuration File

sudo vim /etc/libvirt/libvirtd.conf

Check these lines

unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"

Set your user to LibVert Group

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

Restart Service if required

sudo systemctl restart libvirtd.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment