OpenCloudOS-Kernel/drivers/virtio
Ohad Ben-Cohen e72542191c virtio: expose for non-virtualization users too
virtio has been so far used only in the context of virtualization,
and the virtio Kconfig was sourced directly by the relevant arch
Kconfigs when VIRTUALIZATION was selected.

Now that we start using virtio for inter-processor communications,
we need to source the virtio Kconfig outside of the virtualization
scope too.

Moreover, some architectures might use virtio for both virtualization
and inter-processor communications, so directly sourcing virtio
might yield unexpected results due to conflicting selections.

The simple solution offered by this patch is to always source virtio's
Kconfig in drivers/Kconfig, and remove it from the appropriate arch
Kconfigs. Additionally, a virtio menu entry has been added so virtio
drivers don't show up in the general drivers menu.

This way anyone can use virtio, though it's arguably less accessible
(and neat!) for virtualization users now.

Note: some architectures (mips and sh) seem to have a VIRTUALIZATION
menu merely for sourcing virtio's Kconfig, so that menu is removed too.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-07-23 16:20:30 +09:30
..
Kconfig virtio: expose for non-virtualization users too 2011-07-23 16:20:30 +09:30
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
config.c Virtio interface 2007-10-23 15:49:54 +10:00
virtio.c virtio: fix format of sysfs driver/vendor files 2010-11-24 15:21:12 +10:30
virtio_balloon.c virtio balloon: kill tell-host-first logic 2011-05-30 11:14:13 +09:30
virtio_pci.c virtio_pci: Prevent double-free of pci regions after device hot-unplug 2011-04-21 22:57:00 +09:30
virtio_ring.c virtio: add api for delayed callbacks 2011-05-30 11:14:16 +09:30