-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
-
False
-
---
-
---
-
-
-
None
Description of problem:
Following upstream documentation it was possible in 4.11 to pass USB devices from the client using `virtctl usbredir` but in 4.12 it is no longer possible:
Version-Release number of selected component (if applicable):
4.12
How reproducible:
Always
Steps to Reproduce:
1. Add .spec.domain.devices.clientPassthrough: {} to the VM spec 2. Start the VM
Actual results:
The VM does not start with this Libvirt error:
LibvirtError(Code=67, Domain=10, Message='unsupported configuration: USB redirection is not supported by this version of QEMU')
Here are the events for the VM:
77s Normal Scheduled pod/virt-launcher-rhel9-2lbmt Successfully assigned vms/virt-launcher-rhel9-2lbmt to optiplex1 78s Normal SuccessfulCreate virtualmachineinstance/rhel9 Created virtual machine pod virt-launcher-rhel9-2lbmt 77s Normal SuccessfulAttachVolume pod/virt-launcher-rhel9-2lbmt AttachVolume.Attach succeeded for volume "pvc-2499e041-b03d-4b52-be88-fdd6a950f09d" 68s Normal SuccessfulMountVolume pod/virt-launcher-rhel9-2lbmt MapVolume.MapPodDevice succeeded for volume "pvc-2499e041-b03d-4b52-be88-fdd6a950f09d" volumeMapPath "/var/lib/kubelet/pods/8aaccf59-8d31-4bde-9b72-2f9f92fe253c/volumeDevices/kubernetes.io~csi" 68s Normal SuccessfulMountVolume pod/virt-launcher-rhel9-2lbmt MapVolume.MapPodDevice succeeded for volume "pvc-2499e041-b03d-4b52-be88-fdd6a950f09d" globalMapPath "/var/lib/kubelet/plugins/kubernetes.io/csi/volumeDevices/pvc-2499e041-b03d-4b52-be88-fdd6a950f09d/dev" 66s Normal Pulled pod/virt-launcher-rhel9-2lbmt Container image "registry.redhat.io/container-native-virtualization/virt-launcher@sha256:0270e9aa645d53a71191b4fdc6491c7f69e20443039dccfe2255a9d6a2126dc2" already present on machine 66s Normal AddedInterface pod/virt-launcher-rhel9-2lbmt Add net1 [] from vms/bridge-lan 66s Normal Created pod/virt-launcher-rhel9-2lbmt Created container compute 66s Normal AddedInterface pod/virt-launcher-rhel9-2lbmt Add eth0 [10.129.0.67/23] from openshift-sdn 65s Normal Started pod/virt-launcher-rhel9-2lbmt Started container compute 23s Warning SyncFailed virtualmachineinstance/rhel9 server error. command SyncVMI failed: "LibvirtError(Code=67, Domain=10, Message='unsupported configuration: USB redirection is not supported by this version of QEMU')"
Expected results:
Client USB redirection works as expected
Additional info:
- links to