Commit 181c04a3 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

vhost_scsi: module rename

Rename module and update Kconfig and Makefile.
Add alias for compatibility with old userspace
scripts if any.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarAsias He <asias@redhat.com>
Acked-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
parent 5012a3a3
...@@ -9,6 +9,10 @@ config VHOST_NET ...@@ -9,6 +9,10 @@ config VHOST_NET
To compile this driver as a module, choose M here: the module will To compile this driver as a module, choose M here: the module will
be called vhost_net. be called vhost_net.
if STAGING config VHOST_SCSI
source "drivers/vhost/Kconfig.tcm" tristate "VHOST_SCSI TCM fabric driver"
endif depends on TARGET_CORE && EVENTFD && m
default n
---help---
Say M here to enable the vhost_scsi TCM fabric module
for use with virtio-scsi guests
config TCM_VHOST
tristate "TCM_VHOST fabric module"
depends on TARGET_CORE && EVENTFD && m
default n
---help---
Say M here to enable the TCM_VHOST fabric module for use with virtio-scsi guests
obj-$(CONFIG_VHOST_NET) += vhost_net.o obj-$(CONFIG_VHOST_NET) += vhost_net.o
vhost_net-y := vhost.o net.o vhost_net-y := vhost.o net.o
obj-$(CONFIG_TCM_VHOST) += tcm_vhost.o obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o
tcm_vhost-y := scsi.o vhost_scsi-y := scsi.o
...@@ -2136,7 +2136,8 @@ static void tcm_vhost_exit(void) ...@@ -2136,7 +2136,8 @@ static void tcm_vhost_exit(void)
destroy_workqueue(tcm_vhost_workqueue); destroy_workqueue(tcm_vhost_workqueue);
}; };
MODULE_DESCRIPTION("TCM_VHOST series fabric driver"); MODULE_DESCRIPTION("VHOST_SCSI series fabric driver");
MODULE_ALIAS("tcm_vhost");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
module_init(tcm_vhost_init); module_init(tcm_vhost_init);
module_exit(tcm_vhost_exit); module_exit(tcm_vhost_exit);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment