qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Log Console Output to File


From: David S. Ahern
Subject: Re: [Qemu-devel] Log Console Output to File
Date: Thu, 11 Nov 2010 13:43:25 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.6


On 11/11/10 13:37, Russell Morris wrote:
> 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.*

qemu command line?

David

> 
>  
> 
> Thoughts?
> 
>  
> 
> Thanks again!
> 
> 
> 
> On Thu, Nov 11, 2010 11:22  AM, "David S. Ahern" <address@hidden> wrote:
> 
>     On 11/11/10 09:57, Mulyadi Santosa wrote:
>     > On Thu, Nov 11, 2010 at 12:50, <address@hidden
>     <mailto:address@hidden>> 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

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