From 7ce97daf27dd16444d0f3c29aa6f06b2c5562aaa Mon Sep 17 00:00:00 2001 From: MatejSpindler Date: Mon, 1 Aug 2022 10:23:19 +0200 Subject: [PATCH] Add multiscreen mode (#473) Enable multiscreen with max_outputs for the virtio-vga if user configures max_outputs in the .conf file --- quickemu | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/quickemu b/quickemu index 56576a4..debefd1 100755 --- a/quickemu +++ b/quickemu @@ -776,6 +776,11 @@ function vm_boot() { ati-vga|cirrus-vga|VGA) VIDEO="${VIDEO},vgamem_mb=64";; esac + # Configure multiscreen if max_outputs was provided in the .conf file + if [ -v max_outputs ]; then + VIDEO="${VIDEO},max_outputs=${max_outputs}" + fi + # Add fullscreen options VIDEO="${VIDEO} ${FULLSCREEN}"