Received: from eggs.gnu.org ([2001:4830:134:3::10]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z20DA-0007ss-55 for qemu-devel@nongnu.org; Mon, 08 Jun 2015 12:47:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z20D5-0006bq-Q7 for qemu-devel@nongnu.org; Mon, 08 Jun 2015 12:47:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z20D5-0006bd-Kx for qemu-devel@nongnu.org; Mon, 08 Jun 2015 12:47:39 -0400 From: Kashyap Chamarthy Date: Mon, 8 Jun 2015 18:47:00 +0200 Message-Id: <1433782047-7939-1-git-send-email-kchamart@redhat.com> Subject: [Qemu-devel] [PATCH] qemu-sanity-check.in: Use '-display none' instead of '-nographic' List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, rjones@redhat.com, Kashyap Chamarthy 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qemu-sanity-check.in b/qemu-sanity-check.in index 5bb5b292def5caff5ca63071565bd447cf5f4efd..34cd9385f56b5eedd0ec26abd128232a47e51996 100644 --- a/qemu-sanity-check.in +++ b/qemu-sanity-check.in @@ -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" -- 2.1.0