I recently needed to run a virtual machine (VM) created using
virt-manager outside of
libvirt. I was investigating an issue that required running QEMU with the machine option
dump-guest-core=on. By default,
libvirt runs with that option off, so I decided to set up a standalone QEMU environment. I found the process of configuring the test VM and writing the boot script more involved than expected, so I decided to document the steps I took.
I hope this article makes it easier for you to configure and run your own QEMU-based VM for similar investigations. Note that I do not recommend the approach described here for a VM running in production (at least, not without backup).
Continue reading “Configure and run a QEMU-based VM outside of libvirt with virt-manager”