On 02/23/21 09:48, Zhu Yijun wrote: > Hi all, > I boot vm with the virtio keyboard on aarch64. It looks UEFI lacks > support for the virtio keyboard, so I can't do any keyboard input > before the linux kernel driver loads, i.e. edit the grub boot menu. Is > there any plan to support it?
Not on my side. My team discussed virtio-input's relevance for ArmVirtQemu in September 2016. We decided not to bother about it, because: (1) XHCI was virtualization-friendly, both performance-wise and configuration-wise (unlike EHCI), (2) QEMU and libvirt were going to gain (... or had just gained ...) XHCI support, on aarch64 / "virt". So today, just use a "qemu-xhci" controller in your domain config please, in combination with a USB keyboard. (If you define a new aarch64 domain with libvirt, this should happen out of the box for you.) ArmVirtQemu includes all the edk2 drivers necessary for driving those devices, and ArmVirtQemu's PlatformBootManagerLib instance will connect the USB keyboard automatically. There shouldn't be a problem when typing in "grub". Thanks Laszlo > I find UsbKeyboardDevice attach on UsbIO which implements its > protocol interface structure(such as UsbGetInterfaceDescriptor, > UsbAsyncInterruptTransfer) defined by UEFI spec, but virtio not. So is > there some way to implement similar interfaces? > > Best regards, > Cheng Mao > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#72087): https://edk2.groups.io/g/devel/message/72087 Mute This Topic: https://groups.io/mt/80852197/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-