From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52630) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXQi-0007Lv-OC for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:05:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsXQh-0001bD-G7 for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:05:32 -0400 Received: from cantor2.suse.de ([195.135.220.15]:34520 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXQh-0001b4-6q for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:05:31 -0400 Message-ID: <51CD7C07.40608@suse.de> Date: Fri, 28 Jun 2013 14:05:27 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1371645291-3178-1-git-send-email-mjt@msgid.tls.msk.ru> <51CD73A4.2050107@msgid.tls.msk.ru> <51CD775A.3070006@suse.de> <51CD7899.1090909@msgid.tls.msk.ru> In-Reply-To: <51CD7899.1090909@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] display: stop using DT_NOGRAPHIC, use DT_NONE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Peter Maydell , Anthony Liguori , "Todd T. Fries" , qemu-devel@nongnu.org, Paolo Bonzini Am 28.06.2013 13:50, schrieb Michael Tokarev: > 28.06.2013 15:45, Andreas F=C3=A4rber =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Am 28.06.2013 13:29, schrieb Michael Tokarev: >>> 28.06.2013 15:24, Peter Maydell wrote: > [] >>>> ...in particular I don't think "-display none" should >>>> mean "don't allow ctrl-c" (though -nographic should >>>> continue to have that effect), and this patch currently >>>> introduces that behaviour change. >>> >>> As Anthony said before, -nographic is legacy. So there should >>> be some more modern way to control this. That's exactly the >>> change which I don't like myself. =20 >> >>> But "don't allow ctrl-c" >>> which is currently bound to -nographic is equally wrong. >> >> What's wrong about that? Isn't Ctrl+C passed through to the guest in >> -nographic mode? I don't see how any other mode inclusing daemonize >> would need that. >=20 > Um. With either -nographic or -display none, there's no "display" > per se, and it is the "display" who relays keypresses and such into > guest. Without display, the guest becomes headless completely, not > only it does not have a monitor of a video card, but also does not > have keyboard or mouse or other similar stuff. Or it may have these, > but you can't "touch" neither keyboard nor mouse because you don't > "see" them without a display. Fun thing but here we go. BTW just try it out using the following to see for yourself: $ qemu-system-ppc -nographic should get you to an interactive OpenBIOS prompt. Same for sparc. This involves communicating to firmware that we are in -nographic mode, which then redirects its output to serial rather then VGA (think of sgabios in x86 terms). Andreas >=20 > This ctrl+c handling is only about when you explicitly redirected > some other char device to guest, such as serial port. Which don't > have much to do with display I think, hence I don't understand the > logic here. >=20 > Thanks, >=20 > /mjt >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg