Hello,
I have an old Win XP VM that I occasionally need. It is managed by libvirt and virt-manager.
It no longer boots with kvm enabled. I guess the update from Debian stretch to buster broke something (I cannot tell for sure when it broke, because I rarely use it).
A little investigation revealed that I can start the VM manually from the command line with:
Code:
qemu-system-x86_64 -cpu qemu64 -m 3072 -drive file=./Win_XP.qcow2,format=qcow2
If I call it with --enable-kvm like so:
Code:
qemu-system-x86_64 -enable-kvm -cpu qemu64 -m 3072 -drive file=/mnt/Work/virtual/Win_XP_work.qcow2,format=qcow2
Windows stops booting after the line
multi(0)disk(0)rdisk(0)partition(1)\Windows\System32\Drivers\Mup.sys and then offers to boot into safe mode (which does not work either).
Similarly the VM boots with option -machine pc-1.1,accel=tgz,... and it fails with -machine pc-1.1,accel=kvm,...
So I changed the XML definition of the VM in /etc/libvirt/qemu and replaced <domain type='kvm'> with <domain type='qemu'> and also the emulator-tag to qemu-system-x86_64.
Now the VM can be started from virt-manager -
but
Why does an existing Windows XP VM no longer work with kvm?
What changed here? Is this intentional? Bug or feature?
How can I find out more about the issue? I did not find any errors in the logs in /var/log/libvirt/qemu. The host seems completely unaware that the guest has a problem.