On 03.10.2024 05:14, Gary Dale wrote:
I'm running Debian/Stable on an AMD64 system. I have a number of
kvm/qemu virtual machines running on it, including Home Assistant and
a Samba DC, along with multiple Windows VMs. Most of them are working
fine.
However I found a need to fire up an old Windows XP VM but I can't get
it to start. I'm using virt-manager to do this on my Debian/Testing
workstation, connecting to the VMs on the Debian/Stable server. When I
open the VM (using the virt-manager gui) I get the error:
host does not support domain type kvm with machine "pc-0.12' for
virtualization type 'hvm' with architecture 'x86_64'
I have two Windows XP VMs - 32bit and 64bit - and they both give the
same message.
I haven't tried using the Windows XP VMs in years, so I have no idea
when the problem originated. I do know at one point they worked.
Any ideas on what's going wrong and how to fix it?
I vaguely remember an error message like this. I think it was because a
module "pc-0.12" was either renamed or deprecated.
You can edit VM (domain) configuration described in xml directly using
virt-manager.
To make it happen you need to enable this function in Preferences menu (
Edit >> Preferences >> Enable XML Editing ).
Now, if you open hardware details of your VM, there will be an extra tab
called "XML".
Select "Overview" from the hardware list and click on "XML" tab.
Look for a string that looks like this:
<type arch="x86_64" machine="pc-0.12">hvm</type>
And change it to:
<type arch="x86_64" machine="pc-i440fx-3.1">hvm</type>
Click Apply button to save changes and try to start VM again.
--
With kindest regards, Alexander.
Debian - The universal operating system
https://www.debian.org