Author: Keyitdev
Source: Keyitdev/notes
Last edited on: 9 Sep 2023
sudo pacman -S qemu-full virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat dmidecode
sudo pacman -S ebtables iptables
sudo systemctl start libvirtd.service
sudo systemctl enable libvirtd.service
Uncomment unix_sock_group = "libvirt"
and unix_sock_rw_perms = "0770"
in /etc/libvirt/libvirtd.conf
.
sudo sed -i 's/^#unix_sock_group = "libvirt"/unix_sock_group = "libvirt"/' /etc/libvirt/libvirtd.conf
sudo sed -i 's/^#unix_sock_rw_perms = "0770"/unix_sock_rw_perms = "0770"/' /etc/libvirt/libvirtd.conf
sudo usermod -aG libvirt $(whoami)
sudo systemctl restart libvirtd.service
Run this command every time you use a virtual machine that uses the Internet.
sudo virsh net-start default
https://computingforgeeks.com/install-kvm-qemu-virt-manager-arch-manjar/
https://www.makeuseof.com/how-to-install-arch-linux-kvm-configure-virtual-machine/