Thanks for the reply but I am still having trouble. I added this to the XML by doing
sudo virsh edit Whonix-Workstation:
<disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/var/lib/libvirt/images/Whonix-Workstation.qcow2'/> <target dev='hdc' bus='sata'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk>
Adding this got me a different error:
Error starting domain: internal error: process exited while connecting to monitor: 2020-06-26T23:33:17.274796Z qemu-system-x86_64: -device ide-cd,bus=sata0.2,drive=libvirt-1-format,id=sata0-0-2: Failed to get shared "write" lock Is another process using the image [/var/lib/libvirt/images/Whonix-Workstation.qcow2]?
Did I do the right thing? I’m not quite sure what you mean by “try adding a virtual cdrom to the VM”