Refactor Display: status message

This commit is contained in:
Martin Wimpress 2022-08-19 17:42:58 +01:00
parent 92f3466d08
commit c22d0355b9
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -718,8 +718,6 @@ function vm_boot() {
DISPLAY_DEVICE="qxl-vga" DISPLAY_DEVICE="qxl-vga"
fi fi
echo -n " - Display: ${OUTPUT^^}, ${DISPLAY_DEVICE}"
# Map Quickemu OUTPUT to QEMU -display # Map Quickemu OUTPUT to QEMU -display
case ${OUTPUT} in case ${OUTPUT} in
gtk) gtk)
@ -749,9 +747,9 @@ function vm_boot() {
else else
DISPLAY_DEVICE="${DISPLAY_DEVICE},virgl=on" DISPLAY_DEVICE="${DISPLAY_DEVICE},virgl=on"
fi fi
echo ", GL (${gl}), VirGL (on)" echo " - Display: ${OUTPUT^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (on)"
else else
echo ", GL (${gl}), VirGL (off)" echo " - Display: ${OUTPUT^^}, ${DISPLAY_DEVICE}, GL (${gl}), VirGL (off)"
fi fi
# Build the video configuration # Build the video configuration