qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] -serial stdio broken


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] -serial stdio broken
Date: Thu, 7 Jan 2010 13:27:12 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]