Add multiscreen mode (#473)
Enable multiscreen with max_outputs for the virtio-vga if user configures max_outputs in the .conf file
This commit is contained in:
parent
e8b1b7cb3e
commit
7ce97daf27
5
quickemu
5
quickemu
|
@ -776,6 +776,11 @@ function vm_boot() {
|
||||||
ati-vga|cirrus-vga|VGA) VIDEO="${VIDEO},vgamem_mb=64";;
|
ati-vga|cirrus-vga|VGA) VIDEO="${VIDEO},vgamem_mb=64";;
|
||||||
esac
|
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
|
# Add fullscreen options
|
||||||
VIDEO="${VIDEO} ${FULLSCREEN}"
|
VIDEO="${VIDEO} ${FULLSCREEN}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue