qemu-sanity-check.in: Use '-display none' instead of '-nographic'
authorKashyap Chamarthy <kchamart@redhat.com>
Mon, 8 Jun 2015 16:47:00 +0000 (18:47 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 8 Jun 2015 16:51:16 +0000 (17:51 +0100)
Upstream QEMU recommends to use '-display none' as opposed to
'-nographic' -- which is a "legacy option that does a whole bunch of
confusing stuff" (thanks Peter Maydell).

Upstream libguestfs already made the switch [1] in DEC-2013.

[1] https://github.com/libguestfs/libguestfs/commit/7a41f5c1 -- "launch:
    switch from -nographic to -display none "

qemu-sanity-check.in

index 5bb5b29..34cd938 100644 (file)
@@ -140,7 +140,8 @@ test_output="$(mktemp --suff=.out)"
 declare -a argv
 i=0
 argv[$((i++))]="$qemu"
-argv[$((i++))]="-nographic"
+argv[$((i++))]="-display"
+argv[$((i++))]="none"
 argv[$((i++))]="-nodefconfig"
 argv[$((i++))]="-nodefaults"
 argv[$((i++))]="-machine"