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 14:57:41 -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 14:17, Stefan Weil 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
> 

On one host I am using qemu-kvm from
qemu-system-x86-0.13.0-1.fc14.x86_64, and on another
/usr/local/qemu-kvm.latest/bin/qemu-kvm where latest was qemu-kvm.git on
Oct 11. Both work fine. I like this route (using screen and stdio -- no
piping) so that I still have a usable console.

Maybe it's a difference between qemu and qemu-kvm.

David




reply via email to

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