Hi,

 

Thanks for the pointer! I tried this, but I get an error message, as follows ...

chardev: opening backent "stdio" failed

qemu: could not open serial device 'stdio': Inappropriate ioctl for device.

 

Thoughts?

 

Thanks again!


On Thu, Nov 11, 2010 11:22  AM, "David S. Ahern" <daah...@cisco.com> wrote:


> 
On 11/11/10 09:57, Mulyadi Santosa wrote:
> > On Thu, Nov 11, 2010 at 12:50, <q...@rkmorris.us> wrote:
> >> Hi,
> >>
> >> Is there a way to log / copy the console output (like the Linux boot info, 
> >> if booting QEMU to Linux) to a file?
> > 
> > I think you could consider booting Linux in serial console...then
> > start Qemu with -nographic. From there, everything will be spilled
> > right in your standart output. Then you can use your favourite method
> > to save the output...let's say using "script" command.
> > 
> 
> I use 'screen' and its logging capability (Ctrl-a H). Launch the VM with
> '-serial stdio -nographic' and have the guest console directed to ttyS0
> (console=ttyS0 kernel arg).
> 
> David
> 

Reply via email to