All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: lkvm issue: --console virtio keyboard doesn't work
       [not found] <CAAAOz0-CL3vU1O_VFwAFRm0L3kfeK09Gv6QoPq1MPtDgu7UFuA@mail.gmail.com>
@ 2013-10-12  9:50 ` Pekka Enberg
  2013-10-13 23:35   ` Asias He
  0 siblings, 1 reply; 2+ messages in thread
From: Pekka Enberg @ 2013-10-12  9:50 UTC (permalink / raw)
  To: Péter Szabó, kvm, Sasha Levin, Asias He,
	Cyrill Gorcunov

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: lkvm issue: --console virtio keyboard doesn't work
  2013-10-12  9:50 ` lkvm issue: --console virtio keyboard doesn't work Pekka Enberg
@ 2013-10-13 23:35   ` Asias He
  0 siblings, 0 replies; 2+ messages in thread
From: Asias He @ 2013-10-13 23:35 UTC (permalink / raw)
  To: Pekka Enberg; +Cc: P�ter Szab�, kvm, Sasha Levin, Cyrill Gorcunov

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@gmail.com>
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@gmail.com>
    Signed-off-by: Pekka Enberg <penberg@kernel.org>


-- 
Asias

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-13 23:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAAAOz0-CL3vU1O_VFwAFRm0L3kfeK09Gv6QoPq1MPtDgu7UFuA@mail.gmail.com>
2013-10-12  9:50 ` lkvm issue: --console virtio keyboard doesn't work Pekka Enberg
2013-10-13 23:35   ` Asias He

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.