Staging: hv: storvsc: Move the storage driver out of the staging area
Subsystems (4)
PATCH 1/1 Staging: hv: storvsc: Move the storage driver out of the staging area
The storage driver (storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.
This patch is based on the storvsc patches that are already on Greg's queue for the staging tree. This patch-set addressed Christoph's review comments. If need be, I can re-send this patch-set in Greg's queue
or I can send the fully patched storvsc_drv.c.
---
drivers/scsi/Kconfig | 7 +++++++
drivers/scsi/Makefile | 3 +++
drivers/{staging/hv => scsi}/storvsc_drv.c | 0
3 files changed, 10 insertions(+), 0 deletions(-)
rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)drivers/scsi/Kconfig +7 -0
@@ -662,6 +662,13 @@ config VMWARE_PVSCSI To compile this driver as a module, choose M here: the module will be called vmw_pvscsi. +config HYPERV_STORAGE + tristate "Microsoft Hyper-V virtual storage driver" + depends on SCSI && HYPERV + default HYPERV + help + Select this option to enable the Hyper-V virtual storage driver. + config LIBFC tristate "LibFC module" select SCSI_FC_ATTRS
drivers/scsi/Makefile +3 -0
@@ -142,6 +142,7 @@ obj-$(CONFIG_SCSI_BNX2_ISCSI) += libiscsi.o bnx2i/ obj-$(CONFIG_BE2ISCSI) += libiscsi.o be2iscsi/ obj-$(CONFIG_SCSI_PMCRAID) += pmcraid.o obj-$(CONFIG_VMWARE_PVSCSI) += vmw_pvscsi.o +obj-$(CONFIG_HYPERV_STORAGE) += hv_storvsc.o obj-$(CONFIG_ARM) += arm/
@@ -170,6 +171,8 @@ scsi_mod-$(CONFIG_SCSI_PROC_FS) += scsi_proc.o scsi_mod-y += scsi_trace.o scsi_mod-$(CONFIG_PM) += scsi_pm.o +hv_storvsc-y := storvsc_drv.o + scsi_tgt-y += scsi_tgt_lib.o scsi_tgt_if.o sd_mod-objs := sd.o
drivers/scsi/storvsc_drv.c renamed from drivers/staging/hv/storvsc_drv.c +0 -0
Signature · 1 line
1.7.4.1
James Bottomley
maintainerQuoted 9 lines · K. Y. Srinivasan
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.This patch is based on the storvsc patches that are already on Greg's queue for the staging tree. This patch-set addressed Christoph's review comments. If need be, I can re-send this patch-set in Greg's queue
or I can send the fully patchedstorvsc_drv.c.
Quoted 7 lines
Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 3 files changed, 10 insertions(+), 0 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)
This doesn't compile:
make[3]: *** No rule to make target drivers/staging/hv/storvsc_drv.o', needed by drivers/staging/hv/hv_storvsc.o'. Stop.
make[3]: *** Waiting for unfinished jobs....
LD drivers/staging/hv/built-in.o
make[2]: *** [drivers/staging/hv] Error 2
make[1]: *** [drivers/staging] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [drivers] Error 2
You need to remove the staging Kconfig/Makefile remnants as well.
James
Am Mittwoch 25 Januar 2012, 10:29:47 schrieb K. Y. Srinivasan:
drivers/scsi/Makefile
Quoted 37 lines
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.This patch is based on the storvsc patches that are already on Greg's queue for the staging tree. This patch-set addressed Christoph's review comments. If need be, I can re-send this patch-set in Greg's queue
or I can send the fully patchedstorvsc_drv.c.Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 3 files changed, 10 insertions(+), 0 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)drivers/scsi/Kconfig +7
-0@@ -662,6 +662,13 @@ config VMWARE_PVSCSI To compile this driver as a module, choose M here: the module will be called vmw_pvscsi. +config HYPERV_STORAGE + tristate "Microsoft Hyper-V virtual storage driver" + depends on SCSI && HYPERV + default HYPERV + help + Select this option to enable the Hyper-V virtual storage driver. + config LIBFC tristate "LibFC module" select SCSI_FC_ATTRSdrivers/scsi/Makefile +0
-0
I still miss a "this driver will be called ..." message here, as it is used e.g. by the entry before:
drivers/scsi/Makefile
Quoted 2 lines
drivers/scsi/Makefile +0
-0To compile this driver as a module, choose M here: the module will be called vmw_pvscsi.
Eike
Quoted 38 lines
-----Original Message-----
From: Rolf Eike Beer [mailto:[email protected]]
Sent: Thursday, January 26, 2012 12:17 PM
To: KY Srinivasan
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH 1/1] Staging: hv: storvsc: Move the storage driver out of the staging areaAm Mittwoch 25 Januar 2012, 10:29:47 schrieb K. Y. Srinivasan:
Quoted 25 lines
The storage driver (
storvsc_drv.c) handles all block storage devices assigned to Linux guests hosted on Hyper-V. This driver has been in the staging tree for a while and this patch moves it out of the staging area.This patch is based on the storvsc patches that are already on Greg's queue for the staging tree. This patch-set addressed Christoph's review comments. If need be, I can re-send this patch-set in Greg's queue
or I can send the fully patchedstorvsc_drv.c.Signed-off-by K. Y. Srinivasan <[email protected]>--- drivers/scsi/Kconfig | 7 +++++++ drivers/scsi/Makefile | 3 +++ drivers/{staging/hv => scsi}/storvsc_drv.c | 0 3 files changed, 10 insertions(+), 0 deletions(-) rename drivers/{staging/hv => scsi}/storvsc_drv.c (100%)drivers/scsi/Kconfig +0
-0@@ -662,6 +662,13 @@ config VMWARE_PVSCSI To compile this driver as a module, choose M here: the module will be called vmw_pvscsi.
Quoted 15 lines
drivers/scsi/Makefile
Quoted 12 lines
drivers/scsi/Kconfig +7
-0+config HYPERV_STORAGE + tristate "Microsoft Hyper-V virtual storage driver" + depends on SCSI && HYPERV + default HYPERV + help + Select this option to enable the Hyper-V virtual storage driver. + config LIBFC tristate "LibFC module" select SCSI_FC_ATTRSdrivers/scsi/Makefile +0
-0I still miss a "this driver will be called ..." message here, as it is used e.g. by the entry before:
After I moved the file to the scsi directory, in my haste I forgot to git add the file. Sorry for the confusion; I will send out the corrected patches soon.
Regards,
K. Y