

Turns off QEMU’s built-in graphics emulation so Linux would use the passed through GPU. This is needed because QEMU is running in a terminal, and can’t capture keyboard input normally. Tells QEMU to read virtual keyboard input directly from my real keyboard. object input-linux,id=kbd,evdev=/dev/input/by-path/platform-i8042-serio-0-event-kbd
QEMU VGA VMWARE BLACK SERIAL
This disables the usual QEMU window, and also enables the virtual machine’s serial port for viewing boot progress. This was harder than I thought: just running rmmod i915 gives the error:Ġ0:02.0 VGA compatible controller : Intel Corporation HD Graphics 5500 (rev 09)Īllows QEMU to start in an SSH terminal. So I keep the GPU on during boot, and only disable it just before starting QEMU. However, I’m using a Live USB, and I needed the screen to configure Wi-Fi and enable SSH. Usually, the GPU is disabled at boot up, either with the nomodeset boot argument or with a modprobe blacklist.
QEMU VGA VMWARE BLACK UPDATE
UPDATE 2020-09: This no longer works for Intel Broadwell integrated GPUs as of Linux 5.4.
