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: qemu
Subject: Re: [Qemu-devel] Log Console Output to File
Date: Thu, 11 Nov 2010 21:40:50 -0600

Here you go ...
qemu-system-arm -serial stdio -nographic -M versatilepb -kernel zImage-2.6.34-r4-qemuarm.bin -hda minimal-console-image-eglibc-ipk-dev-snapshot-20101110-qemuarm.rootfs.ext3 -append "root=/dev/sda"

And the output ...
chardev: opening backend "stdio" failed
qemu: could not open serial device 'stdio': Inappropriate ioctl for device

Thoughts?

Thanks!



On Thu, Nov 11, 2010 02:43  PM, "David S. Ahern" <address@hidden> wrote:
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
> <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]