From: "Michael S. Tsirkin" <mst@redhat.com>
To: Felipe Franciosi <felipe@nutanix.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Stefan Hajnoczi <stefanha@redhat.com>,
Marc-Andre Lureau <marcandre.lureau@redhat.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Daniel P. Berrange" <berrange@redhat.com>,
"james.r.harris@intel.com" <james.r.harris@intel.com>,
"yuanhan.liu@linux.intel.com" <yuanhan.liu@linux.intel.com>
Subject: Re: [Qemu-devel] [PATCH v5 0/4] Introduce vhost-user-scsi and sample application
Date: Thu, 6 Jul 2017 16:41:46 +0300 [thread overview]
Message-ID: <20170706164014-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <9950C259-FD65-4286-84D0-89FA00420E86@nutanix.com>
On Fri, Apr 21, 2017 at 02:53:33PM +0000, Felipe Franciosi wrote:
>
> > On 2 Mar 2017, at 21:47, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Thu, Mar 02, 2017 at 10:25:49AM -0800, Felipe Franciosi wrote:
> >> Based on various discussions on the 2016 KVM Forum, I'm sending over a
> >> vhost-user-scsi implementation for your consideration.
> >>
> >> This patchset 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.
> >>
> >> As part of this work, a new vhost-scsi-common device was created and
> >> the existing vhost-scsi device moved underneath it. The new
> >> vhost-user-scsi device is also placed underneath it.
> >>
> >> 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) on:
> >>
> >> https://github.com/franciozzy/qemu/tree/vus-upstream-v5
> >>
> >> See the individual patches for build and use instructions.
> >>
> >> Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
> >
> > BTW, pls remember to ping after QEMU release.
>
> Ping! :-)
>
> F.
Now that code is upstream, I think the next step would be
to add vIOMMU support based on what we are doing for virtio-net,
so people can use SPDK within guest with security. Do you think
you will have the time to look at it?
> >
> >> v4 -> v5:
> >> - Add a patch to fix a build issue with libvhost-user.
> >>
> >> v3 -> v4:
> >> - Drop configure switches and build vus by default.
> >> - Add sample application to .gitignore.
> >> - Removed a whitespace error.
> >> - Rebase on master.
> >>
> >> v2 -> v3:
> >> - Rebase after vhost notifier fixes by Paolo.
> >> - Exposed F_HOTPLUG and F_CHANGE on vhost-user-scsi.
> >>
> >> v1 -> v2:
> >> - Introduce new vhost-scsi-common device type.
> >> - Move vhost-scsi device underneath vhost-scsi-common.
> >> - Move sample application from tests/ to contrib/.
> >> - Make sample application use the glib event loop.
> >> - Minor fixes.
> >>
> >> Felipe Franciosi (4):
> >> libvhost-user: replace vasprintf() to fix build
> >> vhost-scsi: create a vhost-scsi-common abstraction
> >> vus: Introduce vhost-user-scsi host device
> >> vus: Introduce a vhost-user-scsi sample application
> >>
> >> .gitignore | 1 +
> >> Makefile | 3 +
> >> Makefile.objs | 4 +
> >> configure | 1 +
> >> contrib/libvhost-user/libvhost-user.c | 2 +-
> >> contrib/vhost-user-scsi/Makefile.objs | 1 +
> >> contrib/vhost-user-scsi/vhost-user-scsi.c | 886 ++++++++++++++++++++++++++++++
> >> default-configs/pci.mak | 1 +
> >> hw/scsi/Makefile.objs | 3 +-
> >> hw/scsi/vhost-scsi-common.c | 143 +++++
> >> hw/scsi/vhost-scsi.c | 194 ++-----
> >> hw/scsi/vhost-user-scsi.c | 215 ++++++++
> >> hw/virtio/virtio-pci.c | 54 ++
> >> hw/virtio/virtio-pci.h | 11 +
> >> include/hw/virtio/vhost-scsi-common.h | 48 ++
> >> include/hw/virtio/vhost-scsi.h | 11 +-
> >> include/hw/virtio/vhost-user-scsi.h | 35 ++
> >> include/hw/virtio/virtio-scsi.h | 5 +
> >> 18 files changed, 1469 insertions(+), 149 deletions(-)
> >> create mode 100644 contrib/vhost-user-scsi/Makefile.objs
> >> create mode 100644 contrib/vhost-user-scsi/vhost-user-scsi.c
> >> create mode 100644 hw/scsi/vhost-scsi-common.c
> >> create mode 100644 hw/scsi/vhost-user-scsi.c
> >> create mode 100644 include/hw/virtio/vhost-scsi-common.h
> >> create mode 100644 include/hw/virtio/vhost-user-scsi.h
> >>
> >> --
> >> 1.9.4
next prev parent reply other threads:[~2017-07-06 13:42 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 18:25 [Qemu-devel] [PATCH v5 0/4] Introduce vhost-user-scsi and sample application Felipe Franciosi
2017-03-02 18:25 ` [Qemu-devel] [PATCH v5 1/4] libvhost-user: replace vasprintf() to fix build Felipe Franciosi
2017-03-02 19:28 ` Eric Blake
2017-03-02 18:25 ` [Qemu-devel] [PATCH v5 2/4] vhost-scsi: create a vhost-scsi-common abstraction Felipe Franciosi
2017-03-02 18:25 ` [Qemu-devel] [PATCH v5 3/4] vus: Introduce vhost-user-scsi host device Felipe Franciosi
2017-03-02 18:25 ` [Qemu-devel] [PATCH v5 4/4] vus: Introduce a vhost-user-scsi sample application Felipe Franciosi
2017-03-02 18:31 ` [Qemu-devel] [PATCH v5 0/4] Introduce vhost-user-scsi and " no-reply
2017-03-02 18:32 ` no-reply
2017-03-02 18:46 ` no-reply
2017-03-02 21:47 ` Michael S. Tsirkin
2017-04-21 14:53 ` Felipe Franciosi
2017-07-06 13:41 ` Michael S. Tsirkin [this message]
2017-07-06 16:54 ` Harris, James R
2017-07-06 16:56 ` Paolo Bonzini
2017-07-06 17:03 ` Harris, James R
2017-07-06 17:06 ` Paolo Bonzini
2017-07-06 17:38 ` Harris, James R
2017-07-06 17:11 ` Marc-André Lureau
2017-07-06 17:44 ` Harris, James R
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170706164014-mutt-send-email-mst@kernel.org \
--to=mst@redhat.com \
--cc=berrange@redhat.com \
--cc=felipe@nutanix.com \
--cc=james.r.harris@intel.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=yuanhan.liu@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).