OSDN Git Service

hw/usb: Add CanoKey Implementation
authorHongren (Zenithal) Zheng <i@zenithal.me>
Thu, 19 May 2022 12:38:10 +0000 (20:38 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 14 Jun 2022 08:34:36 +0000 (10:34 +0200)
commitd7d34918551dc48a2f6b42b44a12c7a9183f89e6
treeeaf1c2ff1076aeaeba6f08f6d148c11c5ac870f0
parent2910abd6b4364ee96d2339b2be8858246fcd3161
hw/usb: Add CanoKey Implementation

This commit added a new emulated device called CanoKey to QEMU.

CanoKey implements platform independent features in canokey-core
https://github.com/canokeys/canokey-core, and leaves the USB implementation
to the platform.

In this commit the USB part was implemented in QEMU using QEMU's USB APIs,
therefore the emulated CanoKey can communicate with the guest OS using USB.

Signed-off-by: Hongren (Zenithal) Zheng <i@zenithal.me>
Message-Id: <YoY6Mgph6f6Hc/zI@Sun>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/canokey.c [new file with mode: 0644]
hw/usb/canokey.h [new file with mode: 0644]