Skip to contentSkip to conversation

tcm_vhost: Add vhost_scsi as an alias for tcm_vhost

PATCH In review Asias He 3 participants 7 messages Apr 27, 2013 – May 2, 2013

Subsystems (3)
lore
Share & tools
lore

Asias He

author
#0 lore raw

PATCH 1/1 tcm_vhost: Add vhost_scsi as an alias for tcm_vhost

---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Asias He

Makes sense.

In fact, how about we turn this around, and rename tcm_vhost.c to scsi.c and module to vhost_scsi, make tcm_vhost an alias?

Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4
#2 lore raw
In reply to Asias He
Quoted 1 line · Asias He

Nicholas, thoughts?
How about we move tcm_vhost.c to scsi.c
call module vhost_scsi and add tcm_vhost as an alias? If not - want this alias in?

Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4
#3 lore raw
Quoted 9 lines · Michael S. Tsirkin
Quoted 1 line · Asias He

Nicholas, thoughts?
How about we move tcm_vhost.c to scsi.c
call module vhost_scsi and add tcm_vhost as an alias? If not - want this alias in?

No objection on my side..

Shall I rebase a branch on top of your vhost-net-next + perform the rename, or do you want to send this via net-next..?

--nab

Quoted 21 lines
Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 11 lines · Nicholas A. Bellinger
Quoted 9 lines · Michael S. Tsirkin
Quoted 1 line · Asias He

Nicholas, thoughts?
How about we move tcm_vhost.c to scsi.c
call module vhost_scsi and add tcm_vhost as an alias? If not - want this alias in?

Quoted 6 lines

No objection on my side..

Shall I rebase a branch on top of your vhost-net-next + perform the rename, or do you want to send this via net-next..?

--nab

Probably easier if I'll do it, but this should go direct to Linus, not through net.

Quoted 22 lines
Quoted 21 lines
Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Michael S. Tsirkin
Quoted 9 lines · Michael S. Tsirkin
Quoted 1 line · Asias He

Nicholas, thoughts?
How about we move tcm_vhost.c to scsi.c
call module vhost_scsi and add tcm_vhost as an alias? If not - want this alias in?

No objection on my side..

Shall I rebase a branch on top of your vhost-net-next + perform the rename, or do you want to send this via net-next..?

--nab

Quoted 21 lines
Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#6 lore raw
In reply to Michael S. Tsirkin
Quoted 7 lines · Michael S. Tsirkin
Quoted 1 line · Asias He

Nicholas, thoughts?
How about we move tcm_vhost.c to scsi.c
call module vhost_scsi and add tcm_vhost as an alias?

This is even better ;-)

Quoted 19 lines

If not - want this alias in?

Quoted 17 lines
---
 drivers/vhost/tcm_vhost.c | 1 +
 1 file changed, 1 insertion(+)
drivers/vhost/tcm_vhost.c +1 -0
index 1677238..bddc39a 100644
@@ -1928,5 +1928,6 @@ static void tcm_vhost_exit(void)
 
 MODULE_DESCRIPTION("TCM_VHOST series fabric driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("vhost_scsi");
 module_init(tcm_vhost_init);
 module_exit(tcm_vhost_exit);
Signature · 1 line
1.8.1.4
Signature · 1 line
Asias