From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSsKp-0007Hu-Ko for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:23:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSsKl-0007Gt-9f for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:23:31 -0500 Received: from [199.232.76.173] (port=35090 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSsKl-0007Gq-27 for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:23:27 -0500 Received: from mail-gx0-f223.google.com ([209.85.217.223]:37800) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSsKk-0007Iy-PR for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:23:26 -0500 Received: by gxk23 with SMTP id 23so21638540gxk.2 for ; Thu, 07 Jan 2010 05:23:26 -0800 (PST) Message-ID: <4B45E04C.7060905@codemonkey.ws> Date: Thu, 07 Jan 2010 07:23:24 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] -serial stdio broken References: <20100107115505.GA18269@amd.home.annexia.org> <4B45D4C5.4090807@codemonkey.ws> <20100107124417.GA9028@redhat.com> In-Reply-To: <20100107124417.GA9028@redhat.com> 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: "Daniel P. Berrange" Cc: Blue Swirl , qemu-devel , "Richard W.M. Jones" , Gerd Hoffmann On 01/07/2010 06:44 AM, Daniel P. Berrange wrote: > NB, QEMU 0.12 introduces a new flag '-nodefaults' that can be used to > get rid of this imlied 'serial stdio', and all other implied devices. > It is well worth using this new -nodefaults flag if you're managing > qemu from an app to avoid these surprises > > eg this should work as you'd expect it > > qemu -nodefaults -nographic -serial stdio > -nographic is basically equivalent to -serial mon:stdio,signal=on -vga none except it operates on defaults. Your invocation actually ends up being very different as it doesn't multiplex the monitor and it doesn't disable ctrl-c. Basically, your invocation is equivalent to qemu -vga none -serial stdio The "bug" is the original invocation's addition of '-serial stdio'. That was basically ignored previously but you could imagine subtle changes in semantics (like ctrl-c behavior) that it could and arguably should have introduced. Regards, Anthony Liguori