diff options
author | Asias He <asias@redhat.com> | 2016-07-28 15:36:35 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-08-02 02:57:30 +0300 |
commit | 304ba62fd4e670c1a5784585da0fac9f7309ef6c (patch) | |
tree | 3ce5ae9712434027383a074756eaa7841e0f4b28 /drivers/vhost/Kconfig | |
parent | 433fc58e6bf2c8bd97e57153ed28e64fd78207b8 (diff) | |
download | lwn-304ba62fd4e670c1a5784585da0fac9f7309ef6c.tar.gz lwn-304ba62fd4e670c1a5784585da0fac9f7309ef6c.zip |
VSOCK: Add Makefile and Kconfig
Enable virtio-vsock and vhost-vsock.
Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/Kconfig')
-rw-r--r-- | drivers/vhost/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig index 387d30d8f2a8..f77f15bd3b0c 100644 --- a/drivers/vhost/Kconfig +++ b/drivers/vhost/Kconfig @@ -19,6 +19,20 @@ config VHOST_SCSI Say M here to enable the vhost_scsi TCM fabric module for use with virtio-scsi guests +config VHOST_VSOCK + tristate "vhost virtio-vsock driver" + depends on VSOCKETS && EVENTFD + select VIRTIO_VSOCKETS_COMMON + select VHOST + default n + ---help--- + This kernel module can be loaded in the host kernel to provide AF_VSOCK + sockets for communicating with guests. The guests must have the + virtio_transport.ko driver loaded to use the virtio-vsock device. + + To compile this driver as a module, choose M here: the module will be called + vhost_vsock. + config VHOST_RING tristate ---help--- |