WSL2-Linux-Kernel/drivers/vhost
Jason Wang 20c384f1ea vhost: refine vhost and vringh kconfig
Currently, CONFIG_VHOST depends on CONFIG_VIRTUALIZATION. But vhost is
not necessarily for VM since it's a generic userspace and kernel
communication protocol. Such dependency may prevent archs without
virtualization support from using vhost.

To solve this, a dedicated vhost menu is created under drivers so
CONIFG_VHOST can be decoupled out of CONFIG_VIRTUALIZATION.

While at it, also squash Kconfig.vringh into vhost Kconfig file. This
avoids the trick of conditional inclusion from VOP or CAIF. Then it
will be easier to introduce new vringh users and common dependency for
both vringh and vhost.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20200326140125.19794-2-jasowang@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2020-04-01 12:06:26 -04:00
..
Kconfig vhost: refine vhost and vringh kconfig 2020-04-01 12:06:26 -04:00
Makefile
net.c vhost: Check docket sk_family instead of call getname 2020-02-22 21:41:42 -08:00
scsi.c compat_ioctl: move drivers to compat_ptr_ioctl 2019-10-23 17:23:43 +02:00
test.c compat_ioctl: remove most of fs/compat_ioctl.c 2019-12-01 13:46:15 -08:00
test.h
vhost.c vhost, kcov: collect coverage from vhost_worker 2019-12-04 19:44:14 -08:00
vhost.h vhost, kcov: collect coverage from vhost_worker 2019-12-04 19:44:14 -08:00
vringh.c vringh: fix copy direction of vringh_iov_push_kern() 2019-10-28 04:25:04 -04:00
vsock.c vhost/vsock: accept only packets with the right dst_cid 2019-12-07 11:59:51 -08:00