Skip to contentSkip to conversation

some fixes for the pvSCSI driver

PATCH In review Jun Kamada 1 participant 2 messages Jun 4, 2008 – Jun 6, 2008 Xen hypervisor interface

lore
Share & tools
lore

Jun Kamada

author
#0 lore raw

cover some fixes for the pvSCSI driver

Hi all,

I will post following three patches for pvSCSI driver.

1.) The cs562 has changed VBD backend's configuration parameter in
drivers/xen/Kconfig. I'm sorry, it was a mistake. This patch revert the modification.
2.) This patch fixes pvSCSI backend's configuration parameter, module
dependency and module type, in drivers/xen/Kconfig.
3.) This patch enables SCSI command emulation framework.
(The framework was "#if 0"ed on the source code last posted.) And also, REPORT_LUN command emulation is enabled.

As for 3.), we consider another flexible framework is needed which provides hot-plug of arbitrary emulation routines. (Some SCSI command, especially for vendor unique command, may require different emulation logic depends on the environment. This is the reason why we need the new framework.) We would like to continue to discuss about the design of the framework.

Best regards,

-----
Jun Kamada

author
#1 lore raw

Hi all,

I'm sorry that I have to post a additional patch for following 3.). The patch adds "emulate.o" to make target on drivers/xen/scsiback/Makefile.

Best regards,

Quoted 28 lines · On Wed, 04 Jun 2008 18:22:52 +0900 Jun Kamada <[email protected]> wrote:

Hi all,

I will post following three patches for pvSCSI driver.

1.) The cs562 has changed VBD backend's configuration parameter in
drivers/xen/Kconfig. I'm sorry, it was a mistake. This patch revert the modification.
2.) This patch fixes pvSCSI backend's configuration parameter, module
dependency and module type, in drivers/xen/Kconfig.
3.) This patch enables SCSI command emulation framework.
(The framework was "#if 0"ed on the source code last posted.) And also, REPORT_LUN command emulation is enabled.

As for 3.), we consider another flexible framework is needed which provides hot-plug of arbitrary emulation routines. (Some SCSI command, especially for vendor unique command, may require different emulation logic depends on the environment. This is the reason why we need the new framework.) We would like to continue to discuss about the design of the framework.

Best regards,

-----
Jun Kamada

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

-----
Jun Kamada

drivers/xen/scsiback/Makefile +1 -1
diff -r 7ac2afc0189a drivers/xen/scsiback/Makefile
@@ -1,4 +1,4 @@ obj-$(CONFIG_XEN_SCSI_BACKEND) := xen-sc
 obj-$(CONFIG_XEN_SCSI_BACKEND) := xen-scsibk.o
 
-xen-scsibk-y	:= interface.o scsiback.o xenbus.o translate.o
+xen-scsibk-y	:= interface.o scsiback.o xenbus.o translate.o emulate.o
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel