Skip to content

Commit

Permalink
vhost: split out vringh Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael S. Tsirkin committed Aug 2, 2016
1 parent ec33d03 commit 4d93824
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion drivers/misc/mic/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion drivers/net/caif/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 0 additions & 6 deletions drivers/vhost/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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---
Expand Down
5 changes: 5 additions & 0 deletions drivers/vhost/Kconfig.vringh
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 4d93824

Please sign in to comment.