qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Introduce vhost-user-scsi and sample application
@ 2016-10-26 15:26 Felipe Franciosi
  2016-10-26 15:26 ` [Qemu-devel] [PATCH 1/2] vus: Introduce vhost-user-scsi host device Felipe Franciosi
  2016-10-26 15:26 ` [Qemu-devel] [PATCH 2/2] vus: Introduce a vhost-user-scsi sample application Felipe Franciosi
  0 siblings, 2 replies; 7+ messages in thread
From: Felipe Franciosi @ 2016-10-26 15:26 UTC (permalink / raw)
  To: Paolo Bonzini, Stefan Hajnoczi, Marc-Andre Lureau,
	Michael S. Tsirkin
  Cc: qemu-devel, Felipe Franciosi

Based on various discussions on the 2016 KVM Forum, I'm sending over a
vhost-user-scsi implementation for your consideration.

This patch set introduces a new vhost-user SCSI device. While heavily
based on vhost-scsi, it is implemented using vhost's userspace
counterpart. The device has been coded and tested to work with live
migration.

A sample application based on the newly introduced libvhost-user is
also included. It makes use of libiscsi for simplicity.

For convenience, I'm maintaining an up-to-date version of these
patches (including some necessary fixes for libvhost-user still under
discussion) on:

https://github.com/franciozzy/qemu/tree/vus-upstream

See the individual patches for build and use instructions.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>


Felipe Franciosi (2):
  vus: Introduce vhost-user-scsi host device
  vus: Introduce a vhost-user-scsi sample application

 configure                           |  10 +
 hw/scsi/Makefile.objs               |   1 +
 hw/scsi/vhost-user-scsi.c           | 299 +++++++++++++
 hw/virtio/virtio-pci.c              |  58 +++
 hw/virtio/virtio-pci.h              |  15 +
 include/hw/virtio/vhost-user-scsi.h |  45 ++
 include/hw/virtio/virtio-scsi.h     |   5 +
 tests/Makefile.include              |   2 +
 tests/vhost-user-scsi.c             | 862 ++++++++++++++++++++++++++++++++++++
 9 files changed, 1297 insertions(+)
 create mode 100644 hw/scsi/vhost-user-scsi.c
 create mode 100644 include/hw/virtio/vhost-user-scsi.h
 create mode 100644 tests/vhost-user-scsi.c

-- 
1.9.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-10-27 12:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-26 15:26 [Qemu-devel] [PATCH 0/2] Introduce vhost-user-scsi and sample application Felipe Franciosi
2016-10-26 15:26 ` [Qemu-devel] [PATCH 1/2] vus: Introduce vhost-user-scsi host device Felipe Franciosi
2016-10-27 12:12   ` Paolo Bonzini
2016-10-26 15:26 ` [Qemu-devel] [PATCH 2/2] vus: Introduce a vhost-user-scsi sample application Felipe Franciosi
2016-10-27 12:16   ` Paolo Bonzini
2016-10-27 12:48     ` Felipe Franciosi
2016-10-27 12:58       ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).