From 8896209afcfd1202c1df0e252ede5cee8824a04c Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 7 Feb 2019 22:46:15 -0500 Subject: [PATCH] qemu: enable keyboard and mouse for aarch64 (!1750) Tested keyboard and mouse with weston and mate interface. MATE suffers from the invisible cursor bug though. --- pmb/qemu/run.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py index 7004ccb0..75d41673 100644 --- a/pmb/qemu/run.py +++ b/pmb/qemu/run.py @@ -169,6 +169,8 @@ def command_qemu(args, arch, device, img_path, spice_enabled): command += ["-cpu", "cortex-a57"] command += ["-device", "virtio-gpu-pci"] command += ["-device", "virtio-net-device,netdev=net0"] + command += ["-usb", "-device", "usb-ehci", + "-device", "usb-kbd", "-device", "usb-mouse"] # Add storage command += ["-device", "virtio-blk-device,drive=system"]