mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
f12c1ebddf
This commit introduces a vhost-user device for SCSI. This is based on the existing vhost-scsi implementation, but done over vhost-user instead. It also uses a chardev to connect to the backend. Unlike vhost-scsi (today), VMs using vhost-user-scsi can be live migrated. To use it, start Qemu with a command line equivalent to: qemu-system-x86_64 \ -chardev socket,id=vus0,path=/tmp/vus.sock \ -device vhost-user-scsi-pci,chardev=vus0,bus=pci.0,addr=... A separate commit presents a sample application linked with libiscsi to provide a backend for vhost-user-scsi. Signed-off-by: Felipe Franciosi <felipe@nutanix.com> Message-Id: <1488479153-21203-4-git-send-email-felipe@nutanix.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
16 lines
628 B
Makefile
16 lines
628 B
Makefile
common-obj-y += scsi-disk.o
|
|
common-obj-y += scsi-generic.o scsi-bus.o
|
|
common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o
|
|
common-obj-$(CONFIG_MPTSAS_SCSI_PCI) += mptsas.o mptconfig.o mptendian.o
|
|
common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o
|
|
common-obj-$(CONFIG_VMW_PVSCSI_SCSI_PCI) += vmw_pvscsi.o
|
|
common-obj-$(CONFIG_ESP) += esp.o
|
|
common-obj-$(CONFIG_ESP_PCI) += esp-pci.o
|
|
obj-$(CONFIG_PSERIES) += spapr_vscsi.o
|
|
|
|
ifeq ($(CONFIG_VIRTIO),y)
|
|
obj-y += virtio-scsi.o virtio-scsi-dataplane.o
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost-scsi-common.o vhost-scsi.o
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-scsi-common.o vhost-user-scsi.o
|
|
endif
|