From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJXtN-0003TD-Gq for qemu-devel@nongnu.org; Thu, 17 Jul 2008 14:07:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJXtM-0003Rw-S6 for qemu-devel@nongnu.org; Thu, 17 Jul 2008 14:07:49 -0400 Received: from [199.232.76.173] (port=46570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJXtM-0003Rg-Hh for qemu-devel@nongnu.org; Thu, 17 Jul 2008 14:07:48 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:1552) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJXtL-0006Fx-Pb for qemu-devel@nongnu.org; Thu, 17 Jul 2008 14:07:48 -0400 Received: by fg-out-1718.google.com with SMTP id l26so16553fgb.8 for ; Thu, 17 Jul 2008 11:07:45 -0700 (PDT) Message-ID: Date: Thu, 17 Jul 2008 11:07:45 -0700 From: Atoosah MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_79404_16293738.1216318065610" Subject: [Qemu-devel] How to get target system display with qemu -nographic option? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org ------=_Part_79404_16293738.1216318065610 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_79404_16293738.1216318065610 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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.
------=_Part_79404_16293738.1216318065610--