From 448e8885e705a2cb7acf96ace6e64084e8bd78ba Mon Sep 17 00:00:00 2001 From: Yannick Mauray Date: Sat, 16 Oct 2021 11:18:14 +0200 Subject: [PATCH] Unable to start a linux VM. ``` qemu-system-x86_64: -device virtio-vga,xres=,yres=: Parameter 'xres' expects uint64 ``` This fixes a typo in the name of the variable used to determine a sane resolution for linux guests. --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index d600408..d5ededf 100755 --- a/quickemu +++ b/quickemu @@ -489,7 +489,7 @@ function vm_boot() { fi # Determine a sane resolution for Linux guests. - if [ "${guest}" == "linux" ]; then + if [ "${guest_os}" == "linux" ]; then local X_RES=1152 local Y_RES=648 if [ "${XDG_SESSION_TYPE}" == "x11" ]; then