Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions drivers/vhost/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,16 @@ config VHOST_CROSS_ENDIAN_LEGACY

If unsure, say "N".

config VHOST_BLK
tristate "Host kernel accelerator for virtio-blk"
depends on BLOCK && EVENTFD
select VHOST
default n
help
This kernel module can be loaded in host kernel to accelerate
guest vm with virtio-blk driver.

To compile this driver as a module, choose M here: the module will
be called vhost_blk.

endif
3 changes: 3 additions & 0 deletions drivers/vhost/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@ obj-$(CONFIG_VHOST) += vhost.o
obj-$(CONFIG_VHOST_IOTLB) += vhost_iotlb.o
vhost_iotlb-y := iotlb.o

obj-$(CONFIG_VHOST_BLK) += vhost_blk.o
vhost_blk-y := blk.o

obj-$(CONFIG_VHOST_XEN) += vhost_xen.o
vhost_xen-y := xen.o
Loading