Project

General

Profile

action #114643

Add support for virtio keyboard and mouse on aarch64 QEMU

Added by MDoucha 2 months ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2022-07-25
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

QEMU aarch64 VMs are currently hardcoded to use USB keyboard in OpenQA. We now need to test SLE-15SP4 kernel-azure where this does not work because the whole USB subsystem is intentionally disabled and therefore the framebuffer console gets no keyboard input:
https://openqa.suse.de/tests/9122772#step/update_kernel/95

I can get the tests to work by setting QEMU_APPEND=device virtio-keyboard -device virtio-mouse. Please implement proper support for virtio input devices in the QEMU backend.

History

#1 Updated by okurz 2 months ago

  • Priority changed from High to Normal
  • Target version set to future

We discussed some options in https://suse.slack.com/archives/C02CANHLANP/p1658752604640339?thread_ts=1658752604.640339&cid=C02CANHLANP already. mdoucha suggested

something like QEMU_INPUT=ps2; QEMU_INPUT=usb; QEMU_INPUT=virtio would be nice

I assume it should be easy to implement. Given the workaround present I am still arguing this is "Normal" priority. Maybe an after-hours evening project :)

Also available in: Atom PDF