From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSrj3-00033m-Dg for qemu-devel@nongnu.org; Thu, 07 Jan 2010 07:44:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSriy-00030d-EN for qemu-devel@nongnu.org; Thu, 07 Jan 2010 07:44:28 -0500 Received: from [199.232.76.173] (port=40575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSriy-00030V-77 for qemu-devel@nongnu.org; Thu, 07 Jan 2010 07:44:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:48682) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSrix-0002qS-K0 for qemu-devel@nongnu.org; Thu, 07 Jan 2010 07:44:23 -0500 Date: Thu, 7 Jan 2010 12:44:17 +0000 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] -serial stdio broken Message-ID: <20100107124417.GA9028@redhat.com> References: <20100107115505.GA18269@amd.home.annexia.org> <4B45D4C5.4090807@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B45D4C5.4090807@codemonkey.ws> Reply-To: "Daniel P. Berrange" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Blue Swirl , qemu-devel , "Richard W.M. Jones" , Gerd Hoffmann 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 Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|