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.
This commit is contained in:
Robert Yang 2019-02-07 22:46:15 -05:00 committed by Oliver Smith
parent ff4c35a025
commit 8896209afc
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
1 changed files with 2 additions and 0 deletions

View File

@ -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"]