Skip to content

Commit 4fe74b1

Browse files
bonziniJames Bottomley
authored andcommitted
[SCSI] virtio-scsi: SCSI driver for QEMU based virtual machines
The virtio-scsi HBA is the basis of an alternative storage stack for QEMU-based virtual machines (including KVM). Compared to virtio-blk it is more scalable, because it supports many LUNs on a single PCI slot), more powerful (it more easily supports passthrough of host devices to the guest) and more easily extensible (new SCSI features implemented by QEMU should not require updating the driver in the guest). Acked-by: Rusty Russell <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]> Signed-off-by: James Bottomley <[email protected]>
1 parent 5a4f934 commit 4fe74b1

File tree

5 files changed

+718
-0
lines changed

5 files changed

+718
-0
lines changed

drivers/scsi/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1897,6 +1897,14 @@ config SCSI_BFA_FC
18971897
To compile this driver as a module, choose M here. The module will
18981898
be called bfa.
18991899

1900+
config SCSI_VIRTIO
1901+
tristate "virtio-scsi support (EXPERIMENTAL)"
1902+
depends on EXPERIMENTAL && VIRTIO
1903+
help
1904+
This is the virtual HBA driver for virtio. If the kernel will
1905+
be used in a virtual machine, say Y or M.
1906+
1907+
19001908
endif # SCSI_LOWLEVEL
19011909

19021910
source "drivers/scsi/pcmcia/Kconfig"

drivers/scsi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ obj-$(CONFIG_SCSI_CXGB4_ISCSI) += libiscsi.o libiscsi_tcp.o cxgbi/
141141
obj-$(CONFIG_SCSI_BNX2_ISCSI) += libiscsi.o bnx2i/
142142
obj-$(CONFIG_BE2ISCSI) += libiscsi.o be2iscsi/
143143
obj-$(CONFIG_SCSI_PMCRAID) += pmcraid.o
144+
obj-$(CONFIG_SCSI_VIRTIO) += virtio_scsi.o
144145
obj-$(CONFIG_VMWARE_PVSCSI) += vmw_pvscsi.o
145146

146147
obj-$(CONFIG_ARM) += arm/

0 commit comments

Comments
 (0)