Refactor framebuffer

This commit is contained in:
Qingsong Chen
2025-04-29 08:45:08 +00:00
committed by Tate, Hongliang Tian
parent ef898e572c
commit 88f08de3af
10 changed files with 494 additions and 204 deletions

View File

@ -12,6 +12,7 @@
# - VSOCK: "off" or "on";
# - SMP: number of CPUs;
# - MEM: amount of memory, e.g. "8G".
# - VNC_PORT: VNC port, default is "42".
OVMF=${OVMF:-"on"}
VHOST=${VHOST:-"off"}
@ -78,7 +79,7 @@ COMMON_QEMU_ARGS="\
-m ${MEM:-8G} \
--no-reboot \
-nographic \
-display none \
-display vnc=0.0.0.0:${VNC_PORT:-42} \
-serial chardev:mux \
-monitor chardev:mux \
-chardev stdio,id=mux,mux=on,signal=off,logfile=qemu.log \