Replies: 4 comments 9 replies
-
|
Cloud Hypervisor doesn't support USB passthrough. |
Beta Was this translation helpful? Give feedback.
-
|
@sboeuf Got it. Is it (USB passthrough) on the road map? |
Beta Was this translation helpful? Give feedback.
-
|
No it's not. |
Beta Was this translation helpful? Give feedback.
-
|
Would USB support be interesting for the project at all? Especially in edge scenarios USB passthrough is very useful and we might have some time to work on this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
So I was trying to passthrough a host USB device to a cloud hypervisor VM, but when starting the VM, the API call failed with
start instance: request failed: 500 Internal Server Error: VmBoot(VmBoot(DeviceManager(VfioCreate(InvalidPath)))).Here's the device config I'm using:
{ ... "devices":[ { "path":"/dev/bus/usb/002/003", "iommu":false, "id":"usb", "pci_segment":0 } ] }I also tried to replace the path with
/sys/bus/usb/devices/2-2, got the same error too. Does cloud hypervisor (v21.0) support USB passthrough? If so, what path should I use here?Beta Was this translation helpful? Give feedback.
All reactions