Skip to main content

Command Palette

Search for a command to run...

Arch, QEMU, and Virt-Manager

Updated
1 min read
sudo pacman -Syu
sudo pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat libguestfs

I chose these providers for qemu and virtiofsd

yay virt-bootstrap
sudo systemctl enable libvirtd
sudo systemctl start libvirtd
sudo nano /etc/libvirt/libvirtd.conf

unix_sock_group = "libvirt"

unix_sock_rw_perms = "0770"

sudo usermod -a -G libvirt user && newgrp libvirt
sudo nano /etc/libvirt/qemu.conf

user = "nathan"

group = "nathan"

Add VM

Open virt-manager

File > Add Connection

Might need to manually choose the OS when selecting the ISO.

Move the VM

Find the disk location

create a new location

sudo /mnt/Storage/QEMU && sudo chown nathan:nathan /mnt/Storage/QEMU
mv /home/nathan/.local/share/libvirt/images/win10.qcow2 win10.qcow2

Edit the xml to reflect the new path

Settings

I've found that using VGA graphics and Spice Server with Opengl enabled has given me the best performance.

More from this blog

My memory is Volatile

28 posts

This is a place where I'll be making tutorials for future-me on archlinux-related installs and fixes so I don't have to figure stuff out againe every few months. Use at your own risk.