]> git.ipfire.org Git - thirdparty/systemd.git/commit
vmspawn: Attach a USB keyboard in GUI mode
authorDaan De Meyer <daan@amutable.com>
Mon, 11 May 2026 13:00:19 +0000 (15:00 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 11 May 2026 15:16:14 +0000 (16:16 +0100)
commit6f3fa7177598cc586273ff4e3c753a5bf5bb104a
tree2a03bab04e18d34fe27a07a0d225e5cb87c6412b
parent4409e52494d803426a365b6636a66fd2dfc70b62
vmspawn: Attach a USB keyboard in GUI mode

EDK2's UsbKbDxe is the only driver that registers a default HII
keyboard layout via the HII database protocol; the PS/2 driver does
not. Adding a USB xHCI controller and usb-kbd in CONSOLE_GUI mode
gives us a layout to query, which systemd-boot exports through the
LoaderKeyboardLayout EFI variable — useful for exercising that
codepath end-to-end.
src/vmspawn/vmspawn.c