Fixed : -full-screen option to qemu
The option is -full-screen and not --full-screen, and should not be part of the -device option
This commit is contained in:
parent
e83de9baf3
commit
3e0d45e660
6
quickemu
6
quickemu
@ -347,9 +347,9 @@ function vm_boot() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then
|
if [ "${DISPLAY_DEVICE}" == "qxl-vga" ] || [ "${DISPLAY_DEVICE}" == "VGA" ]; then
|
||||||
VIDEO="-device ${DISPLAY_DEVICE},vgamem_mb=128,xres=${X_RES},yres=${Y_RES},${FULLSCREEN}"
|
VIDEO="-device ${DISPLAY_DEVICE},vgamem_mb=128,xres=${X_RES},yres=${Y_RES} ${FULLSCREEN}"
|
||||||
else
|
else
|
||||||
VIDEO="-device ${DISPLAY_DEVICE},xres=${X_RES},yres=${Y_RES},${FULLSCREEN}"
|
VIDEO="-device ${DISPLAY_DEVICE},xres=${X_RES},yres=${Y_RES} ${FULLSCREEN}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo " - Video: ${DISPLAY_DEVICE}"
|
echo " - Video: ${DISPLAY_DEVICE}"
|
||||||
@ -601,7 +601,7 @@ else
|
|||||||
STATUS_QUO="-snapshot"
|
STATUS_QUO="-snapshot"
|
||||||
shift;;
|
shift;;
|
||||||
-fullscreen|--fullscreen)
|
-fullscreen|--fullscreen)
|
||||||
FULLSCREEN="--full-screen"
|
FULLSCREEN="-full-screen"
|
||||||
shift;;
|
shift;;
|
||||||
-vm|--vm)
|
-vm|--vm)
|
||||||
VM="${2}"
|
VM="${2}"
|
||||||
|
Loading…
Reference in New Issue
Block a user