From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 0/3] Add support for vhost-scsi-pci Date: Thu, 28 Mar 2013 00:16:49 +0200 Message-ID: <20130327221649.GB12518@redhat.com> References: <1364421586-29857-1-git-send-email-nab@linux-iscsi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: target-devel , lf-virt , kvm-devel , qemu-devel , Stefan Hajnoczi , Paolo Bonzini , Asias He , Anthony Liguori To: "Nicholas A. Bellinger" Return-path: Content-Disposition: inline In-Reply-To: <1364421586-29857-1-git-send-email-nab@linux-iscsi.org> Sender: target-devel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Mar 27, 2013 at 09:59:43PM +0000, Nicholas A. Bellinger wrote: > 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 Looks sane but 3/3 is a hack, needs to be debugged and fixed properly. > 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