From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXSA-0000uN-8o for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:07:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsXS8-0002HT-8K for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:07:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsXS7-0002HB-VT for qemu-devel@nongnu.org; Fri, 28 Jun 2013 08:07:00 -0400 Message-ID: <51CD7C5B.10509@redhat.com> Date: Fri, 28 Jun 2013 14:06:51 +0200 From: Paolo Bonzini 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> <51CD7C16.3040208@msgid.tls.msk.ru> In-Reply-To: <51CD7C16.3040208@msgid.tls.msk.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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" , =?UTF-8?B?QW5kcmVhcyBGw6RyYg==?= =?UTF-8?B?ZXI=?= , qemu-devel@nongnu.org Il 28/06/2013 14:05, Michael Tokarev ha scritto: > That's exactly why I don't think looking at -nographic here in > serial code is wrong. It should do the same regardless of > -nographic - if, say, serial is redirected to stdio, it should > always pass Ctrl+C to guest instead of killing it. So I'm > not really sure we should test for -display none here, either. See the patch I just sent. >> > It would be nice to be able to say "-nographic is equivalent to >> > '-display none -serial stdio -disable-ctrl-c -other-things'" >> > but I'm not sure exactly what the -other-things are or even >> > if we can set them all on the command line specifically. > We have some code in sun4 which also enabled serial ports > differently with and without -nographic, maybe because of > the same thing (which is what this all is about!). > > And there's also another place, passing this NOGRAPHIC thing > to bios. > > So far that's all. With chardev you can explicitly control > Ctrl+C behavour using signal={on|off} attribute. Unfortunately, you cannot use -chardev for the vast majority of boards (all those that have no ISA/PCI/virtio). Paolo