When I have had to do something similar I passed the pci device that had the usb ports attached to it which worked very well. 

On Fri, 3 Nov 2023 at 13:30, Michael Kjörling <7d1340278307@ewoof.net> wrote:
I have a need to pass through a YubiKey to a Windows (10) VM guest
such that Windows in the guest will let me use it with physical touch
activation for 2FA.

For those times, I am physically at the VM host, so I don't need
_remote_ redirection into the guest, and I'm fine with plugging and
unplugging the YubiKey physically on an as-needed basis.

If I simply redirect the USB device through the virt-manager GUI, my
experience is that it has at best worked very much unreliably, and
often not at all.

Searching the web hasn't helped.

Does anyone have a recipe for that to work _reliably_?

--
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”
_______________________________________________
Users mailing list -- users@lists.libvirt.org
To unsubscribe send an email to users-leave@lists.libvirt.org