I reinstalled my Manjaro OS and now virt-manager can no longer access myQcow2 W10 guest.
When I try to import my disk image I get the following:
Unable to complete install: 'unsupported configuration: USB redirection is not supported by this version of QEMU'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/createvm.py", line 2008, in _do_async_install
installer.start_install(guest, meter=meter)
File "/usr/share/virt-manager/virtinst/install/installer.py", line 695, in start_install
domain = self._create_guest(
^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtinst/install/installer.py", line 637, in _create_guest
domain = self.conn.createXML(initial_xml or final_xml, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/libvirt.py", line 4545, in createXML
raise libvirtError('virDomainCreateXML() failed')
libvirt.libvirtError: unsupported configuration: USB redirection is not supported by this version of QEMU
My main hard drive is an SSD, but I have a 1 TB secondary disk in my laptop where the image resides on /dev/sda2.
The disk is mounted on /data in /etc/fstab
UUID=9E8E8B808E8B5027 /data ntfs auto,users,rw,permissions 0 0
I am using Virtual Machine Manager 4.1.0
QEMU emulator version 9.1.0
Is this a known issue?
Is there another version of Qemu available?
Is there an issue with my configuration?
Many thanks.
~ Dave
What do you mean by image? A virtual disk?
What do you mean by import? Reusing the qcow2 virtual disk?
In my experience with virtual machine manager - you need to configure the virtual machine and the import is simply reusing the virtual disk.
This implies that you copy the virtual disk to /var/lib/libvirt/images and ensure the correct permissions - or setup a different storage.
Yes. It’s a qcow2 file as indicated.
The thing is that I have been able to to access it previously, but for some reason it no longer works.
Moreover, if I try to create a new disk, I get the same error.
My 1TB disk is SATA, so I’m a little surprised to see this error.
Unfortunately my SSD is not big enough to copy the Qcow2 image to access it there.
That is strange - but it does point to a generic preference with virt-manager.
Check the Console tab in Preferences of the Virtual Machine Manager window.
On my system I have no issues with setting of SPICE USB Redirection but it appears your system does.
Summary

Perhaps you are missing an optional package?
From my system
$ pamac info libvirt
[...]
Optional Dependencies : dmidecode: DMI system info support [Installed]
dnsmasq: required for default NAT/DHCP for guests [Installed]
gettext: required for libvirt-guests.service [Installed]
iptables-nft: required for default NAT networking
libvirt-storage-gluster: Gluster storage backend
libvirt-storage-iscsi-direct: iSCSI-direct storage backend
lvm2: Logical Volume Manager support [Installed]
openbsd-netcat: for remote management over ssh
open-iscsi: iSCSI support via iscsiadm
qemu-base: QEMU/KVM support [Installed]
qemu-desktop: QEMU/KVM desktop support [Installed]
qemu-emulators-full: Support of additional QEMU architectures [Installed]
radvd: IPv6 RAD support
swtpm: TPM emulator support [Installed]
[...]
Thanks.
That helped a lot as it made it possible to identify the missing dependencies.
Thanks very much for your time and effort.
~ Dave