]> piware.de Git - bin.git/commitdiff
vm: Explicitly run with SDL display
authorMartin Pitt <martin.pitt@ubuntu.com>
Tue, 27 Dec 2016 09:57:35 +0000 (10:57 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Tue, 27 Dec 2016 09:57:35 +0000 (10:57 +0100)
vm

diff --git a/vm b/vm
index 5c497593c55b8acfd171e266133e2704f7cb724a..652c4363e5fe7b04a9086b039a93233dbe17a9de 100755 (executable)
--- a/vm
+++ b/vm
@@ -9,5 +9,5 @@ while echo '' | nc localhost $ssh_port >/dev/null; do
     ssh_port=$((ssh_port+1))
 done
 echo "Host ssh port: $ssh_port"
-qemu-system-x86_64 -enable-kvm -m 2048 -drive file="$image",if=virtio \
+qemu-system-x86_64 -enable-kvm -display sdl -m 2048 -drive file="$image",if=virtio \
     -net nic,model=virtio -net user,hostfwd=tcp::${ssh_port}-:22 "$@"