Error(s) When Importing VM Templates (KVM)

I am going through the KVM installation process and am running into the following errors in response to the below command:

Command:

sudo virsh -c qemu:///system define Whonix-Gateway*.xml

Errors:

error: Failed to define domain from Whonix-Gateway-Xfce-17.0.3.0.xml
error: unsupported configuration: spice graphics are not supported with this QEMU

Mind you I am using Debian Trixie (caveating with this as I saw noted to use Stable), but I am not seeing any compatibility issues at first glance (may be unbeknownst to me).

Are there any fixes to get around the above error regarding SPICE? Appreciate all help and feedback. Thank you!

1 Like

Just wanted to follow up on this and see if anybody has any suggestions, thanks.

1 Like

you followed KVM documentation properly? im using debian testing, didnt face this issue.

2 Likes

Could have been a QEMU bug at the time or you are missing the SPICE packages on the host

1 Like

Apologies for the necro, but I’m also on Debian 13 Trixie (now stable), and installing the following packages seems to have solved this problem for me: libqcow-utils, qemu-system, qemu-system-gui, qemu-user. Maybe they aren’t all necessary, but it worked, so I won’t question it.

Noted for debian trixie, it will show this error for new installations. But we are not yet on debian trixie. Once we are there i will update the wiki and/or kvm settings.

Very much permissible and invited as per:
Bumping Old Threads