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:42:36 -0600

Hi,

Yes, this works, as does adding in "-vnc :0" (and then connection to this via VNC) ... but in both cases I am not able to collect the console output that exists during the boot. Any thoughts on that?

Thanks!



On Thu, Nov 11, 2010 03:17  PM, Stefan Weil <address@hidden> wrote:
Am 11.11.2010 21:37, schrieb Russell Morris:
> 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?

Hi,

I assume that you tried this (as it was suggested by an earlier mail):

qemu -serial stdio -nographic ...

This results in an error message for me, too:

chardev: opening backend "stdio" failed
qemu: could not open serial device 'stdio': No such file or directory

Try this variant (which works for me):

qemu -nographic ...

It will redirect the serial output (first serial port) of your guest os to
standard output, so you can write it to a file with the usual methods,
for example this one:

qemu -nographic ... | tee log.txt

Regards

Stefan Weil


reply via email to

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