add -nographic flag for x86_64 arch

This commit is contained in:
thebigbone 2025-03-17 19:20:57 +05:30
parent 24d8122b96
commit 372dd51264

View File

@ -228,7 +228,7 @@ else
-global driver=cfi.pflash01,property=secure,value=on \ -global driver=cfi.pflash01,property=secure,value=on \
"$@" "$@"
# Emulate the host CPU closely in both features and cores. # Emulate the host CPU closely in both features and cores.
set -- -machine q35,accel=kvm:hvf:tcg,smm=on -cpu host -smp "${VM_NCPUS}" "$@" set -- -machine q35,accel=kvm:hvf:tcg,smm=on -cpu host -smp "${VM_NCPUS}" -nographic "$@"
;; ;;
amd64-usr+*) amd64-usr+*)
set -- -machine q35 -cpu kvm64 -smp 1 -nographic "$@" ;; set -- -machine q35 -cpu kvm64 -smp 1 -nographic "$@" ;;