Re: linux-next: Tree for Feb 13 (virtio_console)

From: Stephen Rothwell
Date: Thu Feb 14 2013 - 02:07:14 EST


Hi Rusty,

On Thu, 14 Feb 2013 13:30:37 +1030 Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:
>
> This looks like an impossible config. CONFIG_VIRTIO_CONSOLE=y, but
> CONFIG_HVC_DRIVER isn't set.
>
> From drivers/char/Kconfig:
>
> config VIRTIO_CONSOLE
> tristate "Virtio console"
> depends on VIRTIO

This also has "&& TTY" in -next (not actually relevant)

> select HVC_DRIVER

Its weird, but since CONFIG_TTY is not set (see the config), the
HVC_DRIVER symbol is not even visible, so I suspect that the above select
does nothing :-( But also, I can't see how VIRTIO_CONSOLE could be set
in the first place since TTY is not set.

(cc'ing some more people) (this is a randconfig that has TTY=n,
HVC_DRIVER=n, but VIRTIO_CONSOLE=y)
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: pgp00000.pgp
Description: PGP signature