From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nicholas A. Bellinger" Subject: [PATCH 0/3] Add support for vhost-scsi-pci Date: Wed, 27 Mar 2013 21:59:43 +0000 Message-ID: <1364421586-29857-1-git-send-email-nab@linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: target-devel Cc: kvm-devel , "Michael S. Tsirkin" , qemu-devel , lf-virt , Anthony Liguori , Stefan Hajnoczi , Paolo Bonzini List-Id: virtualization@lists.linuxfoundation.org From: Nicholas Bellinger 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