فهرست منبع

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>
Michael S. Tsirkin 9 سال پیش
والد
کامیت
4d93824561
4فایلهای تغییر یافته به همراه7 افزوده شده و 8 حذف شده
  1. 1 1
      drivers/misc/mic/Kconfig
  2. 1 1
      drivers/net/caif/Kconfig
  3. 0 6
      drivers/vhost/Kconfig
  4. 5 0
      drivers/vhost/Kconfig.vringh

+ 1 - 1
drivers/misc/mic/Kconfig

@@ -148,5 +148,5 @@ config VOP
 	  <http://software.intel.com/en-us/mic-developer>.
 
 if VOP
-source "drivers/vhost/Kconfig"
+source "drivers/vhost/Kconfig.vringh"
 endif

+ 1 - 1
drivers/net/caif/Kconfig

@@ -52,5 +52,5 @@ config CAIF_VIRTIO
 	The caif driver for CAIF over Virtio.
 
 if CAIF_VIRTIO
-source "drivers/vhost/Kconfig"
+source "drivers/vhost/Kconfig.vringh"
 endif

+ 0 - 6
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---

+ 5 - 0
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.