Fixing virt-install on ARM64: Security Violation, dnsmasq Port 53, and the qemu:///session Trap

The author describes problems encountered when creating a first virtual machine on an ARM64 Raspberry Pi, despite using a correct virt-install command. The failures stemmed from libvirt, Debian, and shell defaults rather than the command itself, and each produced misleading errors. A key issue was that virsh defaulted to the per-user qemu:///session connection, which has no system networks or shared storage, instead of the system-wide qemu:///system. The article explains the difference between the two URIs and shows how to check and set the default. It warns that a VM created under the wrong URI will be invisible to the system libvirt and can appear to vanish, so explicitly specifying --connect qemu:///system is recommended.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in