Apply display= if set in the VM configuration. Close #520

pull/561/head
Martin Wimpress 2 years ago
parent dc86cd6098
commit a29dcef6ed
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 6
      quickemu

@ -1422,6 +1422,7 @@ boot="efi"
cpu_cores="" cpu_cores=""
disk_img="" disk_img=""
disk_size="" disk_size=""
display=""
extra_args="" extra_args=""
fixed_iso="" fixed_iso=""
floppy="" floppy=""
@ -1665,6 +1666,10 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
disk_size="${disk}" disk_size="${disk}"
fi fi
if [ -n "${display}" ]; then
OUTPUT="${display}"
fi
# Set the default OUTPUT if not provided by user # Set the default OUTPUT if not provided by user
if [ -z "${OUTPUT}" ]; then if [ -z "${OUTPUT}" ]; then
OUTPUT="sdl" OUTPUT="sdl"
@ -1674,6 +1679,7 @@ if [ -n "${VM}" ] && [ -e "${VM}" ]; then
if [ -n "${BRAILLE}" ]; then if [ -n "${BRAILLE}" ]; then
OUTPUT="sdl" OUTPUT="sdl"
fi fi
display_param_check
if [ -z "${VIEWER}" ]; then if [ -z "${VIEWER}" ]; then
VIEWER="${viewer}" VIEWER="${viewer}"

Loading…
Cancel
Save