From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJb64-0000F9-J3 for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:33:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJb62-0000EZ-PE for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:33:08 -0400 Received: from [199.232.76.173] (port=43011 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJb62-0000EW-LA for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:33:06 -0400 Received: from qw-out-1920.google.com ([74.125.92.149]:44668) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJb62-0000lv-KF for qemu-devel@nongnu.org; Thu, 17 Jul 2008 17:33:06 -0400 Received: by qw-out-1920.google.com with SMTP id 5so279326qwf.4 for ; Thu, 17 Jul 2008 14:33:05 -0700 (PDT) Message-ID: <487FBA8D.5070402@quinthar.com> Date: Thu, 17 Jul 2008 14:33:01 -0700 From: David Barrett MIME-Version: 1.0 Subject: Re: [Qemu-devel] How to get target system display with qemu -nographic option? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 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.