Received: from eggs.gnu.org ([2001:4830:134:3::10]:56389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDNc-0001fY-Gf for qemu-devel@nongnu.org; Fri, 13 Nov 2015 07:23:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxDNZ-0002HS-BB for qemu-devel@nongnu.org; Fri, 13 Nov 2015 07:23:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxDNZ-0002HH-5q for qemu-devel@nongnu.org; Fri, 13 Nov 2015 07:22:57 -0500 From: Markus Armbruster 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> <1214311625.12168934.1447408609544.JavaMail.zimbra@redhat.com> Date: Fri, 13 Nov 2015 13:22:53 +0100 In-Reply-To: <1214311625.12168934.1447408609544.JavaMail.zimbra@redhat.com> (Paolo Bonzini's message of "Fri, 13 Nov 2015 04:56:49 -0500 (EST)") Message-ID: <8761162in6.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain 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: Paolo Bonzini Cc: Blue Swirl , Michael Walle , Mark Cave-Ayland , Eduardo Habkost , qemu-devel@nongnu.org Paolo Bonzini writes: >> > 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. Like usb=, this is a request to board code to enable/disable an optional component. >> 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. I figure -nographic should then set -machine graphic=no to do its hardware emulation part.