From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDzH-0003Pr-ES for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxDzF-0004mT-Bg for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDzF-0004mI-6p for qemu-devel@nongnu.org; Fri, 13 Nov 2015 08:01:53 -0500 References: <1447268956-27500-1-git-send-email-ehabkost@redhat.com> <1447268956-27500-10-git-send-email-ehabkost@redhat.com> <5644605C.2070802@redhat.com> From: Paolo Bonzini Message-ID: <5645DF3B.10401@redhat.com> Date: Fri, 13 Nov 2015 14:01:47 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/12] vl: Replace DT_NOGRAPHIC with MachineState field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Blue Swirl , Michael Walle , Mark Cave-Ayland , Eduardo Habkost , QEMU Developers On 13/11/2015 12:49, Peter Maydell wrote: > On 12 November 2015 at 09:48, Paolo Bonzini wrote: >> >> >> On 11/11/2015 20:09, Eduardo Habkost wrote: >>> All DisplayType values are just UI options that don't affect any >>> hardware emulation code, except for DT_NOGRAPHIC. Replace >>> DT_NOGRAPHIC with DT_NONE plus a new MachineState.nographic >>> field, so hardware emulation code don't need to use the >>> display_type variable. >>> >>> Cc: Michael Walle >>> Cc: Blue Swirl >>> Cc: Mark Cave-Ayland >>> Signed-off-by: Eduardo Habkost >> >> Can you add a QOM property too, so that "-machine graphics=yes|no" can >> be used? > > We already have both '-nographic' and '-display none'. > I think adding yet another way to turn off graphics which isn't > the same as either of our existing command line options would > worsen this confusion... I proposed the property exactly so that -nographic becomes the same as "-display none -machine graphics=no -serial mon:stdio". Eduardo's patches achieve that at thecode level, but not at the command line level. Paolo