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 :| -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html