From: <qemu@rkmorris.us>
To: Stefan Weil <weil@mail.berlios.de>
Cc: qemu-devel@nongnu.org, "David S. Ahern" <daahern@cisco.com>
Subject: Re: [Qemu-devel] Log Console Output to File
Date: Sat, 13 Nov 2010 08:39:50 -0600 [thread overview]
Message-ID: <1289659190986916500@rkmorris.us> (raw)
In-Reply-To: <4CDC5D75.2040500@mail.berlios.de>
[-- Attachment #1: Type: text/plain, Size: 1516 bytes --]
Hi,
A bit more on this - as I have been trying to get it working ... :-).
The command you provided did work if I use /dev/tty in place of stdio (i.e. -serial /dev/tty) ... except that it only "starts" to work once I have a login prompt in QEMU (and then also in my command window). I'm trying to capture all the Linux boot info / messages prior to that. Any idea how to get this info to show up in my console window (where I'm executing qemu from)?
Thanks!
On Thu, Nov 11, 2010 03:17 PM, Stefan Weil <weil@mail.berlios.de> 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
>
>
[-- Attachment #2: Type: text/html, Size: 2052 bytes --]
prev parent reply other threads:[~2010-11-13 14:40 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
2010-11-12 3:42 ` qemu
2010-11-13 14:39 ` qemu [this message]
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=1289659190986916500@rkmorris.us \
--to=qemu@rkmorris.us \
--cc=daahern@cisco.com \
--cc=qemu-devel@nongnu.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.