arm: qemu: Enable usb keyboard as an input device

Commit 02be57caf7 ("riscv: qemu: Enable usb keyboard as an input
device") adds PCI xHCI support to QEMU RISC-V virtual machines and
enables using a USB keyboard as one of the input devices. Similarly,
enable those for ARM virtual machines as well.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng@tinylab.org>
This commit is contained in:
Alper Nebi Yasak
2023-08-14 20:39:43 +03:00
committed by Tom Rini
parent 120f540a71
commit 05e2fa7931
6 changed files with 15 additions and 5 deletions

View File

@@ -84,6 +84,10 @@ can be enabled with the following command line parameters:
-device usb-ehci,id=ehci
- To add a USB keyboard attached to an emulated xHCI controller, pass e.g.::
-device qemu-xhci,id=xhci -device usb-kbd,bus=xhci.0
- To add an NVMe disk, pass e.g.::
-drive if=none,file=disk.img,id=mydisk -device nvme,drive=mydisk,serial=foo