Skip to content

Commit 4d93824

Browse files
committed
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>
1 parent ec33d03 commit 4d93824

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

drivers/misc/mic/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,5 +148,5 @@ config VOP
148148
<http://software.intel.com/en-us/mic-developer>.
149149

150150
if VOP
151-
source "drivers/vhost/Kconfig"
151+
source "drivers/vhost/Kconfig.vringh"
152152
endif

drivers/net/caif/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ config CAIF_VIRTIO
5252
The caif driver for CAIF over Virtio.
5353

5454
if CAIF_VIRTIO
55-
source "drivers/vhost/Kconfig"
55+
source "drivers/vhost/Kconfig.vringh"
5656
endif

drivers/vhost/Kconfig

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ config VHOST_VSOCK
3333
To compile this driver as a module, choose M here: the module will be called
3434
vhost_vsock.
3535

36-
config VHOST_RING
37-
tristate
38-
---help---
39-
This option is selected by any driver which needs to access
40-
the host side of a virtio ring.
41-
4236
config VHOST
4337
tristate
4438
---help---

drivers/vhost/Kconfig.vringh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
config VHOST_RING
2+
tristate
3+
---help---
4+
This option is selected by any driver which needs to access
5+
the host side of a virtio ring.

0 commit comments

Comments
 (0)