From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxB6V-0004GV-L7 for qemu-devel@nongnu.org; Fri, 13 Nov 2015 04:57:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxB6Q-0004tF-MU for qemu-devel@nongnu.org; Fri, 13 Nov 2015 04:57:11 -0500 Received: from mx5-phx2.redhat.com ([209.132.183.37]:46522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxB6Q-0004sy-Eh for qemu-devel@nongnu.org; Fri, 13 Nov 2015 04:57:06 -0500 Date: Fri, 13 Nov 2015 04:56:49 -0500 (EST) From: Paolo Bonzini Message-ID: <1214311625.12168934.1447408609544.JavaMail.zimbra@redhat.com> In-Reply-To: <20151112194402.GP4180@thinpad.lan.raisama.net> References: <1447268956-27500-1-git-send-email-ehabkost@redhat.com> <1447268956-27500-10-git-send-email-ehabkost@redhat.com> <5644605C.2070802@redhat.com> <20151112194402.GP4180@thinpad.lan.raisama.net> MIME-Version: 1.0 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: Eduardo Habkost Cc: Blue Swirl , Michael Walle , Mark Cave-Ayland , qemu-devel@nongnu.org > > Can you add a QOM property too, so that "-machine graphics=yes|no" can > > be used? > > I can, but I would like to clarify the expected semantics. With > the -machine option, we would have: > > * -display, which affects only the display UI. > * -nographic, which affects: > * The display UI; > * Hardware emulation; > * serial/paralllel/virtioconsole output redirection. > * -machine graphics=no, which would affect only hardware > emulation. > > Is that correct? Yes. In the case of PC, it might also add "-device sga" unless -nodefaults (or "-device sga") is specified. But that's left for later. Paolo