public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can't build in the virtio console driver on x86_64 when the other virtio drivers are modular
@ 2011-02-24 16:28 Chuck Ebbert
  2011-02-25  6:08 ` Amit Shah
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Ebbert @ 2011-02-24 16:28 UTC (permalink / raw)
  To: virtualization; +Cc: linux-kernel, Amit Shah

The virtio configuration options are inconsistent. According to this,
every options that needs virtio will select it:

 # Virtio always gets selected by whoever wants it.
 config VIRTIO
        tristate

Note that it's not user-selectable, so any config file that tries to
set it will be ignored when kconfig loads those options. And yet we
have a whole set of options that depend on VIRTIO, like VIRTIO_CONSOLE
for example. This makes it impossible to have VIRTIO_PCI modular and
VIRTIO_CONSOLE built-in on x86_64, because:

1. VIRTIO_PCI selects VIRTIO and sets it to M
2. VIRTIO_CONSOLE gets forced to M because one of its dependencies is M

So either VIRTIO (and VIRTIO_RING) need to be user-selectable, or all
of the options that depend on VIRTIO need to be changed to select it
instead.

(For even more fun, LGUEST_GUEST on i386 forces VIRTIO, VIRTIO_RING and
VIRTIO_CONSOLE all to Y.)


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

end of thread, other threads:[~2011-02-28  5:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 16:28 Can't build in the virtio console driver on x86_64 when the other virtio drivers are modular Chuck Ebbert
2011-02-25  6:08 ` Amit Shah
2011-02-25 17:13   ` Chuck Ebbert
2011-02-28  5:04     ` Amit Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox