From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Me8a1-00052V-Ce for qemu-devel@nongnu.org; Thu, 20 Aug 2009 10:25:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Me8Zv-0004yQ-Cz for qemu-devel@nongnu.org; Thu, 20 Aug 2009 10:25:28 -0400 Received: from [199.232.76.173] (port=39170 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Me8Zu-0004y4-Ek for qemu-devel@nongnu.org; Thu, 20 Aug 2009 10:25:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59705) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Me8Zt-0006ew-IV for qemu-devel@nongnu.org; Thu, 20 Aug 2009 10:25:21 -0400 Date: Thu, 20 Aug 2009 15:25:09 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Message-ID: <20090820142509.GD27710@redhat.com> References: <20090810065508.GA4499@amit-x200.redhat.com> <4A7FECCA.8080804@redhat.com> <4A801A7B.1020208@codemonkey.ws> <4A80287C.7050400@redhat.com> <4A802CA7.9020701@codemonkey.ws> <4A803E07.7080407@redhat.com> <4A8051F3.7040400@codemonkey.ws> <20090814081518.GA7418@amit-x200.redhat.com> <4A8566B8.8030808@codemonkey.ws> <20090820134241.GA19395@amit-x200.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090820134241.GA19395@amit-x200.redhat.com> Reply-To: "Daniel P. Berrange" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: kvm@vger.kernel.org, Rusty Russell , qemu-devel@nongnu.org, virtualization@lists.linux-foundation.org, Gerd Hoffmann On Thu, Aug 20, 2009 at 07:12:41PM +0530, Amit Shah wrote: > > I've now seen some more code here and to me it looks like virtioconsole > is not used on any of the guests that qemu supports. The virtio_console > kernel module only works with lguest and s390 currently. There is one > feature and some config values supported by the kernel module but not in > qemu. > > So it looks as if we have virtio-console merged but no one uses it. Is > this right? Nope. Grab a Fedora 11 live CD, and boot with # qemu-kvm -virtioconsole stdio -cdrom Fedora-11-i686-Live.iso -m 500 Once it completes booting & logs into gnome, open a terminal and run as root agetty /dev/hvc0 9600 vt100 You'll get a login prompt on the host machine now. What appears to not be working, is early kernel boot messages. eg, I ought to be able todo # qemu-kvm -virtioconsole stdio -kernel vmlinuz -initrd initrd.img \ -append "console=hvc0" -m 500 and see the kernel boot messages, but this doesn't work with Fedora kernels at least. Not tried upstream, or looked to see if this is just an oversight in the Kconfig use for Fedora kernels. Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|