From: David Barrett <dbarrett@quinthar.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to get target system display with qemu -nographic option?
Date: Thu, 17 Jul 2008 14:33:01 -0700 [thread overview]
Message-ID: <487FBA8D.5070402@quinthar.com> (raw)
In-Reply-To: <c3578ab90807171107ve64c8bbx2150b06e89a0ae6@mail.gmail.com>
When -nographic is specified, no graphical window is created. The only
way to see the graphics window is using the VNC option.
Furthermore, when -nographic is specified, I think "-monitor" defaults
to "serial", meaning the actual serial output is overridden by the qemu
monitor. To change this, look at "-monitor" and direct it somewhere
else (such as to a TCP stream).
Does this help?
-david
Atoosah wrote:
> I would like to run my fedora core image using Qemu in nographic mode.
> Currently I am able to get qemu's serial console, but not the login
> prompt/"target system display". So, far I am able to the Qemu's serial
> console (i.e. the graphical emulations Ctrl-Alt-3 output) if I use the
> option -serial pty or -serial vc, but the option -serial stdio does not
> give me the (qemu) prompt.
>
> 1. Is the system display available, hidden? If so, what options are
> missing below to enable this?
>
> 2. Do I need to make changes to host? I've tried adding the entry
> "7:2345:respawn:/sbin/mgetty ttyS0 9600 vt100-nav" to the /etc/inittab
> file. Also, /dev/ttyS0 does exists.
>
> I have tried running qemu with both ways below, which have the same
> effect. The append option currently seems to have no effect.
> $ qemu -hda mydisk.img -m 512 -append "root=/dev/hda console=ttyS0"
> -nographic -serial vc
>
> $ qemu -hda mydisk.img -m 512 -nographic -serial vc
>
> 3. Why does qemu just start with the serial output, but does not allow
> me to switch to neither the console output nor the target output? i.e.
> No Ctrl keys work (Ctrl-a c, Ctrl-a x, ...)
>
> Thank you in advance.
next prev parent reply other threads:[~2008-07-17 21:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 18:07 [Qemu-devel] How to get target system display with qemu -nographic option? Atoosah
2008-07-17 21:33 ` David Barrett [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-07-17 23:50 Atoosah
2008-07-18 0:10 ` David Barrett
2008-07-18 3:09 ` andrzej zaborowski
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=487FBA8D.5070402@quinthar.com \
--to=dbarrett@quinthar.com \
--cc=qemu-devel@nongnu.org \
/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).