From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSsOW-0001rv-OA for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:27:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSsOS-0001oT-QL for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:27:20 -0500 Received: from [199.232.76.173] (port=45346 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSsOS-0001oP-H5 for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:27:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:52493) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSsOS-0008OE-2g for qemu-devel@nongnu.org; Thu, 07 Jan 2010 08:27:16 -0500 Date: Thu, 7 Jan 2010 13:27:12 +0000 From: "Richard W.M. Jones" Subject: Re: [Qemu-devel] -serial stdio broken Message-ID: <20100107132712.GF11507@amd.home.annexia.org> References: <20100107115505.GA18269@amd.home.annexia.org> <4B45D4C5.4090807@codemonkey.ws> <20100107124417.GA9028@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100107124417.GA9028@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Blue Swirl , Gerd Hoffmann , qemu-devel On Thu, Jan 07, 2010 at 12:44:17PM +0000, Daniel P. Berrange wrote: > On Thu, Jan 07, 2010 at 06:34:13AM -0600, Anthony Liguori wrote: > > On 01/07/2010 05:55 AM, Richard W.M. Jones wrote: > > >On Sun, Dec 13, 2009 at 08:24:54AM +0000, Blue Swirl wrote: > > > > > >>I guess e1c09175bc00dd8dfb2ad1b26e1858dcdc109b59 or > > >>998bbd74b9d813b14a3a3b5009a5d5a48c7dce51 broke -serial stdio for all > > >>targets: > > >>qemu -serial stdio -monitor stdio > > >>chardev: opening backend "stdio" failed > > >>qemu: could not open serial device 'stdio': No such file or directory > > >> > > >-serial stdio on its own is broken for me (qemu from git). The error > > >is a little bit different, so I don't think this is the same bug: > > > > > > chardev: opening backend "stdio" failed > > > qemu: could not open serial device 'stdio': Invalid argument > > > > > >The full command line is: > > > > > >$qemudir/x86_64-softmmu/qemu-system-x86_64 \ > > > -L $qemudir/pc-bios \ > > > -drive file=/tmp/test.img,cache=off,if=ide \ > > > -m 500 \ > > > -no-reboot \ > > > -nographic \ > > > -serial stdio \ > > > > > > > This is redundant. -nographic implies -serial stdio. > > 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 I think this is probably the way to go then. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora