]> Pileus Git - ~andy/linux/blobdiff - drivers/vhost/Kconfig
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[~andy/linux] / drivers / vhost / Kconfig
index 26a64e5b8a580d0a7700a63c17a8d2a0465bb4cd..8b9226da3f546d3d1900fbdb4068cde9497fa503 100644 (file)
@@ -1,6 +1,7 @@
 config VHOST_NET
        tristate "Host kernel accelerator for virtio net"
        depends on NET && EVENTFD && (TUN || !TUN) && (MACVTAP || !MACVTAP)
+       select VHOST_RING
        ---help---
          This kernel module can be loaded in host kernel to accelerate
          guest networking with virtio_net. Not to be confused with virtio_net
@@ -12,7 +13,14 @@ config VHOST_NET
 config VHOST_SCSI
        tristate "VHOST_SCSI TCM fabric driver"
        depends on TARGET_CORE && EVENTFD && m
+       select VHOST_RING
        default n
        ---help---
        Say M here to enable the vhost_scsi TCM fabric module
        for use with virtio-scsi guests
+
+config VHOST_RING
+       tristate
+       ---help---
+         This option is selected by any driver which needs to access
+         the host side of a virtio ring.