From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSung-0007F6-Su for qemu-devel@nongnu.org; Thu, 07 Jan 2010 11:01:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSunb-0007BD-0K for qemu-devel@nongnu.org; Thu, 07 Jan 2010 11:01:27 -0500 Received: from [199.232.76.173] (port=50099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSuna-0007B9-PQ for qemu-devel@nongnu.org; Thu, 07 Jan 2010 11:01:22 -0500 Received: from mail-yw0-f176.google.com ([209.85.211.176]:45243) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSuna-0001sj-5e for qemu-devel@nongnu.org; Thu, 07 Jan 2010 11:01:22 -0500 Received: by ywh6 with SMTP id 6so18561731ywh.4 for ; Thu, 07 Jan 2010 08:01:21 -0800 (PST) Message-ID: <4B460547.6050306@codemonkey.ws> Date: Thu, 07 Jan 2010 10:01:11 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] -serial stdio broken References: <20100107115505.GA18269@amd.home.annexia.org> <20100107121011.GB18269@amd.home.annexia.org> <4B45D449.1050600@redhat.com> <20100107132536.GE11507@amd.home.annexia.org> In-Reply-To: <20100107132536.GE11507@amd.home.annexia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Richard W.M. Jones" Cc: Blue Swirl , Gerd Hoffmann , qemu-devel On 01/07/2010 07:25 AM, Richard W.M. Jones wrote: > On Thu, Jan 07, 2010 at 01:32:09PM +0100, Gerd Hoffmann wrote: > >> Hi, >> >> >>> So what seems to be happening here is there is an implicit monitor >>> being set up which grabs stdio. Because: >>> >>> #define STDIO_MAX_CLIENTS 1 >>> >>> my own -serial stdio option subsequently fails. This is a regression >>> over previous behaviour. I didn't specify a monitor device, because I >>> don't want one, and previous versions of qemu didn't give me one in >>> nographic mode. >>> >> They gave you a monitor too. Try typing 'Ctrl-A c' on stdio, and you'll >> see. qemu tries to be more clever than you. Which sucks IMHO. But >> getting rid of that without adding regressions seems to be really hard >> ... >> >> Easiest way to workaround this is to simply not specify '-serial stdio'. >> It is the default anyway for -nographic, so you don't have to. >> > I want to see the output of the serial port on stdio though. I don't > care at all about the monitor. > -nographic gives you that. nographic is a terrible name. It really is, use this mode if you want to run something and only interact with it through the serial console. Regards, Anthony Liguori