SOLVED Usb Passthrough via pci Passthrough

Beliall

Dabbler
Joined
Mar 1, 2022
Messages
17
Hello :)
Im a new user of truenas Scale.
I read a lot of posts and all seems to be outdated.

I would like to use usb device on my vm
I read i need to passthrough the all controler via pci
When i try to add a pci passthrough device i don't find anything in the list

I read also that i need to detach device from the host to let the VM use them.
Is this the good way to proceed ?

I also try to instal usbutils but i got a permission denied, so i stp to try things and ask some help here

Thanks for you help
Have a good day

Gontran

Im on a the last version of truenas Scale
 

Ixian

Patron
Joined
May 11, 2015
Messages
218
In 22.02 they haven't added the ability to passthrough a single USB device (it is supported by KVM, just not in the SCALE middleware/UX). If the device is the only one on the controller you can pass the entire controller through if you find the PCI device id.

I believe there's a ticket open on this in Jira so it may be added later.
 

Beliall

Dabbler
Joined
Mar 1, 2022
Messages
17
Hello Ixian,
Thank's for your answer.
I can find the pci id with lspci -vnn
1646155710055.png

But i don't figure how proceed to passthrough the controller
I tried to follow this article https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF or other around KVM QEMU VIRSH VFIO but id did not manage to get it worked

Do you know a way to get it work ?
 

dffvb

Dabbler
Joined
Apr 14, 2021
Messages
42
So in the VM selection menu, 00:1d.0 does not show up to pass through?
 

Beliall

Dabbler
Joined
Mar 1, 2022
Messages
17
Hello,
My cpu do not support VT-D
I can't passthrough
I can close the topic
 
Top