Skip to main content
Topic: Unable to use Spice , QXL or Virtio in KVM (Read 1195 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Unable to use Spice , QXL or Virtio in KVM

Hello, i recently installed Artix with KDE Plasma and Openrc.

I've been struggling to get Spice working in kvm, followed tutorials and installed the packages : qemu-full virt-manager dnsmasq spice-vdagent spice-protocol ebtables vde2 libvirt-openrc bridge-utils openbsd-netcat dmidecode ebtables iptables.

when i select spice as the video server it tells me :

  File "/usr/lib/python3.11/site-packages/libvirt.py", line 4529, in createXML
    raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: unsupported configuration: spice graphics are not supported with this QEMU

And when i select QXL or Virtio it tells me :

  File "/usr/lib/python3.11/site-packages/libvirt.py", line 4529, in createXML
    raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: unsupported configuration: domain configuration does not support video model 'qxl'

I don't know what i did wrong ? it only works with VNC as display server and VGA.

Re: Unable to use Spice , QXL or Virtio in KVM

Reply #1
do you have these installed?

Code: [Select]
9 world/qemu-ui-spice-core 8.2.1-2 (34.0 KiB 113.0 KiB) (Installed)
    QEMU spice core UI driver
8 world/qemu-ui-spice-app 8.2.1-2 (17.8 KiB 63.6 KiB) (Installed)
    QEMU spice app UI driver
7 world/qemu-chardev-spice 8.2.1-2 (19.4 KiB 75.6 KiB) (Installed)
    QEMU spice chardev driver
6 world/qemu-audio-spice 8.2.1-2 (17.4 KiB 63.8 KiB) (Installed)
    QEMU spice audio driver

https://wiki.archlinux.org/title/QEMU#SPICE

 

Re: Unable to use Spice , QXL or Virtio in KVM

Reply #2
Hi, sorry for the late response...

So i installed arch,  and then, installed  artix plasma (in a vm using qemu/kvm), and in that VM i tried to install Qemu/KVM  with all the packages i mentioned before and i could use QXL with no problems with alpine linux !

Any ideas where's the problem? i'll try installing artix again in my machine to see if i keep having the same problem.