Skip to contentSkip to conversation

pvSCSI driver

PATCH In review Jun Kamada 2 participants 2 messages Feb 18, 2008 – Feb 27, 2008 Xen hypervisor interface

lore
Share & tools
lore

Jun Kamada

author
#0 lore raw

PATCH 6/7 pvSCSI driver

Modify Kbuild and makefile.

-----
Jun Kamada

# HG changeset patch
# User [email protected]
# Date 1202446637 -32400
# Node ID 19f38010f6fc0ec9f5af9c9f037d44a9341d831d # Parent 756425596477dba78e2280a29427f9f66e8783a4 [LINUX] add Makefile xen-scsi driver

drivers/xen/Kconfig +16 -0
diff -r 756425596477 -r 19f38010f6fc drivers/xen/Kconfig
@@ -156,6 +156,14 @@ config XEN_TPMDEV_BACKEND
 	help
 	  The TPM-device backend driver
 
+config XEN_SCSI_BACKEND
+	tristate "SCSI backend driver"
+	depends on XEN_BACKEND
+	default n
+	help
+	  The SCSI backend driver allows the kernel to export its SCSI Devices
+	  to other guests via a high-performance shared-memory interface.
+
 config XEN_BLKDEV_FRONTEND
 	tristate "Block-device frontend driver"
 	default y
@@ -174,6 +182,14 @@ config XEN_NETDEV_FRONTEND
 	  network interfaces within another guest OS. Unless you are building a
 	  dedicated device-driver domain, or your master control domain
 	  (domain 0), then you almost certainly want to say Y here.
+
+config XEN_SCSI_FRONTEND
+	tristate "SCSI frontend driver"
+	depends on SCSI
+	default n
+	help
+	  The SCSI frontend driver allows the kernel to access SCSI Devices
+	  within another guest OS.
 
 config XEN_GRANT_DEV
 	tristate "User-space granted page access driver"
drivers/xen/Makefile +2 -0
diff -r 756425596477 -r 19f38010f6fc drivers/xen/Makefile
@@ -16,5 +16,7 @@ obj-$(CONFIG_XEN_PCIDEV_FRONTEND)	+= pci
 obj-$(CONFIG_XEN_PCIDEV_FRONTEND)	+= pcifront/
 obj-$(CONFIG_XEN_FRAMEBUFFER)		+= fbfront/
 obj-$(CONFIG_XEN_KEYBOARD)		+= fbfront/
+obj-$(CONFIG_XEN_SCSI_BACKEND)		+= scsiback/
+obj-$(CONFIG_XEN_SCSI_FRONTEND)		+= scsifront/
 obj-$(CONFIG_XEN_PRIVCMD)	+= privcmd/
 obj-$(CONFIG_XEN_GRANT_DEV)	+= gntdev/

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

#1 lore raw
Quoted 5 lines

Modify Kbuild and makefile.

I think it might make more sense to introduce the scsifront build infrastructure in the same patch as scsifront itself, and likewise for scsiback, but it doesn't really make a great deal of difference.

Steven.

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