From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> Hi QEMU folks, The following is the patch series to support vhost-scsi-pci within the upstream QEMU tree. This includes the refactoring of existing virtio-scsi code from Paolo to allow a VirtIOSCSICommon structure that is shared amoungst existing virtio-scsi-pci device and new vhost-scsi-pci device code. Currently this code requires Asias's seabios bugfixes (commit 5a7730db5 and b44a7be17), and another tcm_vhost patch to reset vq->last_used_idx after seabios handoff that's currently in flight for v3.9.0 kernel code. A big thanks to Paolo, Asias, MST, and Stefan for all of their efforts on this series. Thank you, --nab Nicholas Bellinger (1): vhost: Only call vhost_verify_ring_mappings when adding vhost memory Paolo Bonzini (2): virtio-scsi: create VirtIOSCSICommon vhost-scsi: new device supporting the tcm_vhost Linux kernel module configure | 15 +++- hw/Makefile.objs | 5 +- hw/s390x/s390-virtio-bus.c | 35 +++++++ hw/vhost-scsi.c | 241 ++++++++++++++++++++++++++++++++++++++++++++ hw/vhost-scsi.h | 66 ++++++++++++ hw/vhost.c | 2 +- hw/virtio-pci.c | 62 +++++++++++ hw/virtio-scsi.c | 190 +++++++++-------------------------- hw/virtio-scsi.h | 132 +++++++++++++++++++++++- include/qemu/osdep.h | 4 + 10 files changed, 602 insertions(+), 150 deletions(-) create mode 100644 hw/vhost-scsi.c create mode 100644 hw/vhost-scsi.h -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html