For me it worked to use qemu-kvm -M virt -m 4096M -bios /usr/share/qemu/aavmf-aarch64-code.bin -cpu host -device virtio-gpu-pci ... -device qemu-xhci -device usb-kbd ...