diff options
| author | César Belley <cesar.belley@lse.epita.fr> | 2020-08-26 13:42:09 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-08-31 08:23:39 +0200 |
| commit | d7c1523f58190936ed08d30389399a941994d148 (patch) | |
| tree | d1ee6d1c2b50d6cdf412aa49dd1f17a8b1469854 /hw/usb/core.c | |
| parent | 4ee40a6b98c02b72fc5dd262df9d3ac8680d767b (diff) | |
| download | focaccia-qemu-d7c1523f58190936ed08d30389399a941994d148.tar.gz focaccia-qemu-d7c1523f58190936ed08d30389399a941994d148.zip | |
hw/usb: Add U2F device autoscan to passthru mode
This patch adds an autoscan to let u2f-passthru choose the first U2F device it finds. The autoscan is performed using libudev with an enumeration of all the hidraw devices present on the host. The first device which happens to be a U2F device is taken to do the passtru. Signed-off-by: César Belley <cesar.belley@lse.epita.fr> Message-id: 20200826114209.28821-13-cesar.belley@lse.epita.fr Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/core.c')
0 files changed, 0 insertions, 0 deletions