public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: linux-scsi@vger.kernel.org, JBottomley@parallels.com,
	xen-devel@lists.xen.org, hch@infradead.org,
	target-devel@vger.kernel.org, david.vrabel@citrix.com,
	JBeulich@suse.com, nab@linux-iscsi.org, konrad.wilk@oracle.com
Cc: Juergen Gross <jgross@suse.com>
Subject: [PATCH V6 0/5] Add XEN pvSCSI support
Date: Thu, 28 Aug 2014 06:44:08 +0200	[thread overview]
Message-ID: <1409201053-6223-1-git-send-email-jgross@suse.com> (raw)

This series adds XEN pvSCSI support. With pvSCSI it is possible to use physical
SCSI devices from a XEN domain.

The support consists of a backend in the privileged Domain-0 doing the real
I/O and a frontend in the unprivileged domU passing I/O-requests to the backend.

The code is taken (and adapted) from the original pvSCSI implementation done
for Linux 2.6 in 2008 by Fujitsu.

Changes in V6:
- changes in scsifront module after comments from Konrad Wilk
- remove double kfree in scsiback
- comments in vscsiif.h adapted after comments from Jan Beulich and
  David Vrabel in xen-devel
- added linux-scsi@vger.kernel.org to MAINTANERS entry

Changes in V5:
- Added patch to support threaded irqs for interdomain event channels
- several changes in xen-scsifront after comments from Christoph Hellwig
- several changes in xen-scsiback after comments from Christoph Hellwig
- several changes in xen-scsiback after comments from James Bottomley
- several changes in xen-scsiback after comments from Nicholas Bellinger

Changes in V4:
- Re-add define for VSCSIIF_ACT_SCSI_SG_PRESET to vscsiif.h to indicate this
  action value should not be used in future enhancements

Changes in V3:
- added some comments to the protocol header file
- removed the CDB emulation from xen-scsiback, handled by core target
  infrastructure
- several changes in xen-scsifront after comments from Christoph Hellwig

Changes in V2:
- use core target infrastructure by backend instead of pure SCSI passthrough
- add support for larger SG lists by putting them in grant page(s)
- add command abort capability


Juergen Gross (5):
  xen/events: support threaded irqs for interdomain event channels
  Add XEN pvSCSI protocol description
  Introduce xen-scsifront module
  Introduce XEN scsiback module
  add xen pvscsi maintainer

 MAINTAINERS                        |    9 +
 drivers/scsi/Kconfig               |    9 +
 drivers/scsi/Makefile              |    1 +
 drivers/scsi/xen-scsifront.c       | 1024 +++++++++++++++++
 drivers/xen/Kconfig                |    9 +
 drivers/xen/Makefile               |    1 +
 drivers/xen/events/events_base.c   |    5 +-
 drivers/xen/xen-scsiback.c         | 2124 ++++++++++++++++++++++++++++++++++++
 include/xen/events.h               |    2 +
 include/xen/interface/io/vscsiif.h |  229 ++++
 10 files changed, 3411 insertions(+), 2 deletions(-)
 create mode 100644 drivers/scsi/xen-scsifront.c
 create mode 100644 drivers/xen/xen-scsiback.c
 create mode 100644 include/xen/interface/io/vscsiif.h

-- 
1.8.4.5

             reply	other threads:[~2014-08-28  4:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-28  4:44 Juergen Gross [this message]
2014-08-28  4:44 ` [PATCH V6 1/5] xen/events: support threaded irqs for interdomain event channels Juergen Gross
2014-08-28  4:44 ` [PATCH V6 2/5] Add XEN pvSCSI protocol description Juergen Gross
2014-08-28  4:44 ` [PATCH V6 3/5] Introduce xen-scsifront module Juergen Gross
2014-08-31 22:33   ` Christoph Hellwig
2014-08-28  4:44 ` [PATCH V6 4/5] Introduce XEN scsiback module Juergen Gross
2014-08-28  4:44 ` [PATCH V6 5/5] add xen pvscsi maintainer Juergen Gross
2014-09-01 17:11 ` [Xen-devel] [PATCH V6 0/5] Add XEN pvSCSI support David Vrabel

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=1409201053-6223-1-git-send-email-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=JBeulich@suse.com \
    --cc=JBottomley@parallels.com \
    --cc=david.vrabel@citrix.com \
    --cc=hch@infradead.org \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nab@linux-iscsi.org \
    --cc=target-devel@vger.kernel.org \
    --cc=xen-devel@lists.xen.org \
    /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