libvirt and Ledger Nano or hotswappable single USB port with virt-manager - almost there?
Anonymous Aardvark
anonymousaard22 at gmail.com
Tue Jun 28 14:12:58 UTC 2022
Hi
I am holding off on a full VFIO system (with a host just used for hosting
and main hardware forwarded) until after a build a new PC for the coming
generation of graphics cards but I have started using virt-manager to
partition my workspaces.
My host is Ubuntu 20.04 running QEMU v 5.0 on and Intel i5-4690K CPU and
GA-Z97X-Gaming 5 motherboard. Guest is Debian 11.
I am trying to solve the issue of how the Ledger Nano X changes its product
ID when using different applications
<https://imil.net/blog/posts/2020/ledger_on_kvm/>. Unfortunately all ports
seem to be in the same IOMMU group so I cannot just forward a controller. I
have learned that although my temporary fallback Virtualbox allows
forwarding by vendor ID without a product ID
<https://www.reddit.com/r/ledgerwallet/comments/mf872x/how_can_you_run_ledger_live_nano_wallet_on/>,
and I have seen some libvirt references to this, including mention of a
patch that apparently should have been implemented I have not been able to
make it work:
from QEMU to libvirt(virsh) - add USB-port
<https://stackoverflow.com/questions/46421962/from-qemu-to-libvirtvirsh-add-usb-port>
Can I pass through a USB Port via qemu Command Line?
<https://unix.stackexchange.com/questions/452934/can-i-pass-through-a-usb-port-via-qemu-command-line>
Detail on on my comprehensive hotplugger attempts to forward a single port
here
<https://www.reddit.com/r/VFIO/comments/lbvgpr/comment/idzml1k/?utm_source=share&utm_medium=web2x&context=3>
.
Can you please tell me if there is some way I can edit either my debian.xml
or how hotplugger interacts with the socket so that I can forward a single
port that is hotswapable and/or so that Ledger Nano X will stay visible on
the guest even after it changes product ID?
Thanks
Aard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20220628/55484e1b/attachment.htm>
More information about the virt-tools-list
mailing list