From 45239860084f283f4301ca60c7b4e1d8ad6d072b Mon Sep 17 00:00:00 2001 From: tomit4 Date: Sun, 13 Jul 2025 18:19:37 -0700 Subject: [PATCH] :memo: Made further notes on qemu/virsh --- install_qemu.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/install_qemu.txt b/install_qemu.txt index e08a281c..2ed23338 100644 --- a/install_qemu.txt +++ b/install_qemu.txt @@ -3,6 +3,8 @@ Installing Qemu on Artix(runit) doas pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat libvirt libvirt-runit doas ln -s /etc/runit/sv/libvirtd /run/runit/service +doas ln -s /etc/runit/sv/virtlogd /run/runit/service +doas ln -s /etc/runit/sv/virtlockd /run/runit/service cd /etc/runit/sv/libvirtd/log @@ -59,6 +61,19 @@ Copy the following into default.xml(also available in notes/virsh): +If you are already using dnsmasq with mullvad, you may want to start off without internet: + + + default + + + + + + + + + doas virsh net-define --file default.xml doas virsh net-start default @@ -68,3 +83,7 @@ doas virsh net-autostart --network default doas sv restart libvirtd doas sv restart libvirtd/log + +doas sv restart virtlockd virtlogd + +Keep in mind that if you start without internet, you'll have to drop the host firewall to get it to work. There are ways of getting it to work with ufw and iptables, but I have yet to bother diving further into this.