diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-05-01 20:52:59 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2013-05-02 06:40:22 -0400 |
commit | 181c04a357bb791587c55a99362c2fdde2c64f18 (patch) | |
tree | 50d9fac3e8320494a9f86e9d430578ffa412bd60 /drivers/vhost | |
parent | 5012a3a384ad917b5c72a918607bd0cc64452ff8 (diff) |
vhost_scsi: module rename
Rename module and update Kconfig and Makefile.
Add alias for compatibility with old userspace
scripts if any.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Asias He <asias@redhat.com>
Acked-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
-rw-r--r-- | drivers/vhost/Kconfig | 10 | ||||
-rw-r--r-- | drivers/vhost/Kconfig.tcm | 6 | ||||
-rw-r--r-- | drivers/vhost/Makefile | 4 | ||||
-rw-r--r-- | drivers/vhost/scsi.c | 3 |
4 files changed, 11 insertions, 12 deletions
diff --git a/drivers/vhost/Kconfig b/drivers/vhost/Kconfig index bf243177ffe1..26a64e5b8a58 100644 --- a/drivers/vhost/Kconfig +++ b/drivers/vhost/Kconfig | |||
@@ -9,6 +9,10 @@ config VHOST_NET | |||
9 | To compile this driver as a module, choose M here: the module will | 9 | To compile this driver as a module, choose M here: the module will |
10 | be called vhost_net. | 10 | be called vhost_net. |
11 | 11 | ||
12 | if STAGING | 12 | config VHOST_SCSI |
13 | source "drivers/vhost/Kconfig.tcm" | 13 | tristate "VHOST_SCSI TCM fabric driver" |
14 | endif | 14 | depends on TARGET_CORE && EVENTFD && m |
15 | default n | ||
16 | ---help--- | ||
17 | Say M here to enable the vhost_scsi TCM fabric module | ||
18 | for use with virtio-scsi guests | ||
diff --git a/drivers/vhost/Kconfig.tcm b/drivers/vhost/Kconfig.tcm deleted file mode 100644 index 7e3aa28d999e..000000000000 --- a/drivers/vhost/Kconfig.tcm +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | config TCM_VHOST | ||
2 | tristate "TCM_VHOST fabric module" | ||
3 | depends on TARGET_CORE && EVENTFD && m | ||
4 | default n | ||
5 | ---help--- | ||
6 | Say M here to enable the TCM_VHOST fabric module for use with virtio-scsi guests | ||
diff --git a/drivers/vhost/Makefile b/drivers/vhost/Makefile index 6ea9cecb1fb1..ef21d5fdfa7d 100644 --- a/drivers/vhost/Makefile +++ b/drivers/vhost/Makefile | |||
@@ -1,5 +1,5 @@ | |||
1 | obj-$(CONFIG_VHOST_NET) += vhost_net.o | 1 | obj-$(CONFIG_VHOST_NET) += vhost_net.o |
2 | vhost_net-y := vhost.o net.o | 2 | vhost_net-y := vhost.o net.o |
3 | 3 | ||
4 | obj-$(CONFIG_TCM_VHOST) += tcm_vhost.o | 4 | obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o |
5 | tcm_vhost-y := scsi.o | 5 | vhost_scsi-y := scsi.o |
diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index eb1aa56dced8..5179f7aa1b0b 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c | |||
@@ -2136,7 +2136,8 @@ static void tcm_vhost_exit(void) | |||
2136 | destroy_workqueue(tcm_vhost_workqueue); | 2136 | destroy_workqueue(tcm_vhost_workqueue); |
2137 | }; | 2137 | }; |
2138 | 2138 | ||
2139 | MODULE_DESCRIPTION("TCM_VHOST series fabric driver"); | 2139 | MODULE_DESCRIPTION("VHOST_SCSI series fabric driver"); |
2140 | MODULE_ALIAS("tcm_vhost"); | ||
2140 | MODULE_LICENSE("GPL"); | 2141 | MODULE_LICENSE("GPL"); |
2141 | module_init(tcm_vhost_init); | 2142 | module_init(tcm_vhost_init); |
2142 | module_exit(tcm_vhost_exit); | 2143 | module_exit(tcm_vhost_exit); |