Add QEMU virtio with SDL backend

This commit is contained in:
Wildan M 2026-02-08 15:45:08 +07:00
parent bccd4a54ef
commit 9a3c35f0b2
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79

View File

@ -250,6 +250,12 @@ else ifeq ($(gpu),virtio)
else
QEMUFLAGS+=-vga none -device virtio-gpu
endif
else ifeq ($(gpu),virtio-sdl)
ifeq ($(VGA_SUPPORTED),yes)
QEMUFLAGS+=-vga none -device virtio-vga -display sdl,show-cursor=on
else
QEMUFLAGS+=-vga none -device virtio-gpu -display sdl,show-cursor=on
endif
else ifeq ($(gpu),virtio-gl)
ifeq ($(VGA_SUPPORTED),yes)
QEMUFLAGS+=-display gtk,gl=on -vga none -device virtio-vga-gl