summaryrefslogtreecommitdiff
path: root/drivers/vhost
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-08-02 03:03:35 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-08-02 16:54:28 +0300
commit4d93824561057d54712066544609dfc7453b210f (patch)
tree3cadd8f18392c200ae1b59c59722932c14c84028 /drivers/vhost
parentec33d031a14b3c5dd516627139c9550350dbba3e (diff)
downloadlinux-4d93824561057d54712066544609dfc7453b210f.tar.xz
vhost: split out vringh Kconfig
vringh is pulled in by caif and mic, but the other vhost config does not need to be there. In particular, it makes no sense to have vhost net/scsi/sock under caif/mic. Create a separate Kconfig file and put vringh bits there. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost')
-rw-r--r--drivers/vhost/Kconfig6
-rw-r--r--drivers/vhost/Kconfig.vringh5
2 files changed, 5 insertions, 6 deletions
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig
index f77f15bd3b0c..40764ecad9ce 100644
--- a/drivers/vhost/Kconfig
+++ b/drivers/vhost/Kconfig
@@ -33,12 +33,6 @@ config VHOST_VSOCK
To compile this driver as a module, choose M here: the module will be called
vhost_vsock.
-config VHOST_RING
- tristate
- ---help---
- This option is selected by any driver which needs to access
- the host side of a virtio ring.
-
config VHOST
tristate
---help---
diff --git a/drivers/vhost/Kconfig.vringh b/drivers/vhost/Kconfig.vringh
new file mode 100644
index 000000000000..6a4490c09d7f
--- /dev/null
+++ b/drivers/vhost/Kconfig.vringh
@@ -0,0 +1,5 @@
+config VHOST_RING
+ tristate
+ ---help---
+ This option is selected by any driver which needs to access
+ the host side of a virtio ring.