summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2293
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:07 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-05-30 16:52:17 +0200
commit9260319e7411ff8281700a532caa436f40120ec4 (patch)
tree2f6bfe5f3458dd49d328d3a9eb508595450adec0 /gitlab/issues_text/target_missing/host_missing/accel_missing/2293
parent225caa38269323af1bfc2daadff5ec8bd930747f (diff)
downloadqemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.tar.gz
qemu-analysis-9260319e7411ff8281700a532caa436f40120ec4.zip
gitlab scraper: download in toml and text format
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2293')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/229335
1 files changed, 35 insertions, 0 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2293 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2293
new file mode 100644
index 000000000..fef8dbe01
--- /dev/null
+++ b/gitlab/issues_text/target_missing/host_missing/accel_missing/2293
@@ -0,0 +1,35 @@
+[u2f-passthru]: pamu2fcfg command will stuck forever in Guest OS of Qemu
+Description of problem:
+To use FIDO2 user verification we need to run `pamu2fcfg` command which will stuck forever in Guest OS of Qemu 
+
+Passing `-usb -device u2f-passthru,hidraw=/dev/hidraw2` for U2F-Passthrough
+Steps to reproduce:
+1. Make you have have plugged Yubikey.
+2. In Guest shell install package using following command `sudo apt-get install pamu2fcfg`
+3. Run $`pamu2fcfg` command will stuck forever.
+
+**Note:** If I run `pamu2fcfg` in my Ubuntu Host environment it works fine.
+Additional information:
+**lsusb output:**
+
+**$lusb**
+
+Bus 001 Device 002: ID 46f4:0005 **QEMU U2F USB key**
+
+Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
+
+**Debug Details:**
+
+When pamu2fcfg was launched following will be the call flow.
+
+[u2f_key_recv_from_guest](https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L251 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L251") → [recv_from_guest](https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L204 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L204") → [u2f_passthru_recv_from_guest](https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L332 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L332") → [u2f_passthru_read](https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L305 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L305") → [u2f_passthru_recv_from_host](https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L329 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L329") →[ u2f_transaction_get_from_nonce](https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L272 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L272") → [u2f_send_to_guest](https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L302 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f-passthru.c#L302") →[ u2f_pending_in_add](https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L207 "https://github.com/qemu/qemu/blob/master/hw/usb/u2f.c#L207") → [main_loop_wait](https://github.com/qemu/qemu/blob/master/system/runstate.c#L783 "https://github.com/qemu/qemu/blob/master/system/runstate.c#L783") (stuck here)
+
+From above call flow looks like guest is waiting for key.
+
+Even I have tried enabling U2F support flag in Qemu while building but that one was not helping either.
+
+**References:**
+
+https://github.com/Yubico/pam-u2f/tree/main
+
+https://www.qemu.org/docs/master/system/devices/usb-u2f.html