Fix qemu config for multi-head gpu

The old config would create two separate VGA compatible graphics
adapters. Redox currently only supports this when the firmware
initializes both graphics adapters as boot framebuffers. Only UEFI
supports this however. Using a single multi-head virtio-gpu graphics
adapter makes it work on BIOS too.
This commit is contained in:
bjorn3 2025-03-02 20:40:16 +01:00
parent 6fa1f9ba25
commit 35b9b69c6d

View File

@ -162,7 +162,7 @@ endif
ifeq ($(gpu),no)
QEMUFLAGS+=-nographic -vga none
else ifeq ($(gpu),multi)
QEMUFLAGS+=-display sdl -vga std -device secondary-vga
QEMUFLAGS+=-display sdl -vga none -device virtio-gpu,max_outputs=2
else ifeq ($(gpu),virtio)
QEMUFLAGS+=-vga virtio
else ifeq ($(vga),virtio-gpu-pci)