qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "David S. Ahern" <daahern@cisco.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: Russell Morris <rmorris@rkmorris.us>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Log Console Output to File
Date: Thu, 11 Nov 2010 14:57:41 -0700	[thread overview]
Message-ID: <4CDC66D5.6000003@cisco.com> (raw)
In-Reply-To: <4CDC5D75.2040500@mail.berlios.de>



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	other threads:[~2010-11-11 21:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-11  5:50 [Qemu-devel] Log Console Output to File qemu
2010-11-11 16:57 ` Mulyadi Santosa
2010-11-11 17:22   ` David S. Ahern
2010-11-11 20:37     ` Russell Morris
2010-11-11 20:43       ` David S. Ahern
2010-11-12  3:40         ` qemu
2010-11-11 21:17       ` Stefan Weil
2010-11-11 21:57         ` David S. Ahern [this message]
2010-11-12  3:42         ` qemu
2010-11-13 14:39         ` qemu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDC66D5.6000003@cisco.com \
    --to=daahern@cisco.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rmorris@rkmorris.us \
    --cc=weil@mail.berlios.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).