From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CScUj-0003wC-KU for qemu-devel@nongnu.org; Fri, 12 Nov 2004 09:33:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CScUi-0003vp-Mx for qemu-devel@nongnu.org; Fri, 12 Nov 2004 09:33:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CScUi-0003vm-Jk for qemu-devel@nongnu.org; Fri, 12 Nov 2004 09:33:44 -0500 Received: from [213.80.72.10] (helo=kubrik.opensource.se) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CScLw-0008JP-W0 for qemu-devel@nongnu.org; Fri, 12 Nov 2004 09:24:41 -0500 Received: from clementine.opensource.se (unknown [192.168.1.17]) by kubrik.opensource.se (Postfix) with ESMTP id 685253752C for ; Fri, 12 Nov 2004 15:12:30 +0100 (CET) Subject: Re: [Qemu-devel] how to run qemu independent of X? From: Magnus Damm In-Reply-To: References: <1100258823.8437.10.camel@localhost> Content-Type: text/plain Message-Id: <1100268500.9599.10.camel@localhost> Mime-Version: 1.0 Date: Fri, 12 Nov 2004 15:26:35 +0100 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 On Fri, 2004-11-12 at 14:16, Paul Jakma wrote: > On Fri, 12 Nov 2004, Magnus Damm wrote: > > > I do. All the time. > > Hmm.. > > > You need a Linux kernel that is compiled with serial console > > support. And to enable that you need to pass the parameter > > "console=ttyS0,9600" to the kernel too. > > Hmm, I couldnt get serial console to work though. (not with Linux > with solaris). Just to clarify, I meant a guest Linux kernel above. And you are trying to run solaris as a guest? > Qemu seems to hang on me if started with -serial stdio or -nographics > (which also uses stdio AIUI). Hm. It takes some time before the Linux kernel starts outputting things on the serial port. It has to decompress the kernel etc. I have created a little Linux distribution designed to run within QEMU, it is using the -nographic mode successfully. If it would be helpful to you I would be happy to send a binary tarball via email (~3 MiB large binary tarball, ~95 MiB tarball with sources). Or if someone knows a good bittorrent tracker for free software then I would be very happy to seed it. > > You will not get any output from the BIOS or from the > > bzImage-bootloader though, they seem to write directly to the VGA > > hardware. And I am not sure if Ctrl-Alt-1/2/3 works correctly - I > > do however get a monitor prompt displayed the first thing... wierd. > > Monitor as in a stdio '(qemu) ' monitor prompt, or ....? (qemu) > > I do no not think the -nographic option disables emulation of VGA > > hardware, though. An option for that might be useful for embedded > > programmers. > > That would be very useful yes. Good Luck! / magnus