On Sat, Oct 12, 2013 at 11:50:37AM +0200, Pekka Enberg wrote: > On 10/12/13 11:09 AM, P?ter Szab? wrote: > >I'm using afdf92030c7c43b0f9b32b7edbe07ac3b13780f1 from > >git://github.com/penberg/linux-kvm.git and Linux kernel 3.2.51: > > > >config-3.2.51 (42 KB) > >https://mega.co.nz/#!hgxB1TDJ!SdbX-jp_yr8E6EUJl7t7Tzrh1p4qKxkTHieoss8yu_Y > >bzImage-3.2.51 (2.0 MB) > >https://mega.co.nz/#!5lBVmDZL!WpPRWA7ZflevBIPPNGNM_FkkY-ErBNQMoEbw0XePi5I > > > >Config: > > > >$ grep -E 'VIRTIO|MMIO' .config > >CONFIG_NET_9P_VIRTIO=y > >CONFIG_VIRTIO_BLK=y > >CONFIG_VIRTIO_NET=y > >CONFIG_VIRTIO_CONSOLE=y > >CONFIG_HW_RANDOM_VIRTIO=y > >CONFIG_VIRTIO=y > >CONFIG_VIRTIO_RING=y > >CONFIG_VIRTIO_PCI=y > >CONFIG_VIRTIO_BALLOON=y > >CONFIG_VIRTIO_MMIO=y > >CONFIG_HAVE_MMIOTRACE_SUPPORT=y > > > >I'm running `lkvm run --console virtio'. I see all the kernel messages > >and also the shell prompt (sh-2.05b#), but whatever I type gets > >ignored, and the shell doesn't get it. Without the `--console virtio' > >flag it works fine. > > > >Am I using it incorrectly? > > Virtio console should work but I wonder if your guest kernel > is too old. Sasha, Asias? > > Pekka Did you start a getty program in your guest for virtio console? commit 2a9bf9ca069c3476ec3c320ea1276f86158fe3fd Author: Asias He <asias.hejun@xxxxxxxxx> Date: Fri Apr 8 22:12:52 2011 +0800 kvm tools: Virtio console support This patch adds simple virtio console support to the hypervisor. NOTE, NOTE, NOTE: Please add something like this to your /etc/inittab file: T2:23:respawn:/sbin/getty -L hvc0 9600 vt100 to get a virtio console login. Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> -- Asias -- 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