All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Nicholas A. Bellinger" <nab@linux-iscsi.org>
To: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Jens Axboe <axboe@kernel.dk>,
	linux-scsi <linux-scsi@vger.kernel.org>,
	kvm-devel <kvm@vger.kernel.org>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	lf-virt <virtualization@lists.linux-foundation.org>,
	Anthony Liguori <aliguori@linux.vnet.ibm.com>,
	target-devel <target-devel@vger.kernel.org>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Zhi Yong Wu <wuzhy@cn.ibm.com>, Christoph Hellwig <hch@lst.de>,
	Avi Kivity <avi@redhat.com>
Subject: Re: [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION
Date: Wed, 25 Jul 2012 19:34:21 -0700	[thread overview]
Message-ID: <1343270061.1813.181.camel__11511.5503118888$1343270078$gmane$org@haakon2.linux-iscsi.org> (raw)
In-Reply-To: <20120725223559.GA4786@stefanha-thinkpad.localdomain>

On Wed, 2012-07-25 at 23:35 +0100, Stefan Hajnoczi wrote:
> On Wed, Jul 25, 2012 at 02:14:50PM -0700, Nicholas A. Bellinger wrote:
> > On Wed, 2012-07-25 at 12:55 +0100, Stefan Hajnoczi wrote:
> > > On Tue, Jul 24, 2012 at 01:45:24PM -0700, Nicholas A. Bellinger wrote:
> > > > On Mon, 2012-07-23 at 18:56 -0700, Greg Kroah-Hartman wrote:
> > > > > On Tue, Jul 24, 2012 at 01:26:20AM +0000, Nicholas A. Bellinger wrote:
> > > > > > From: Nicholas Bellinger <nab@linux-iscsi.org>

<SNIP>

> > > > The intention of this patch is use ABI=1 as a starting point for
> > > > tcm_vhost moving forward, with no back-wards compat for the ABI=0
> > > > prototype userspace code because:
> > > > 
> > > > - It's based on a slightly older version of QEMU (updating the QEMU series now)
> > > > - It does not have an GET_ABI_VERSION ioctl cmd (that starts with ABI=1)
> > > > - It has a small user-base of target + virtio-scsi developers
> > > > 
> > > > So I did consider just starting from ABI=0, but figured this would help
> > > > reduce the confusion for QEMU userspace wrt to the vhost-scsi code
> > > > that's been floating around out-of-tree for the last 2 years.
> > > 
> > > There is no real user base beyond the handful of people who have hacked
> > > on this.  Adding the GET_ABI_VERSION ioctl() at this stage is fine,
> > > especially considering that the userspace code that talks to tcm_vhost
> > > isn't in mainline in userspace yet either.
> > 
> > 
> > Do you have a preference for a VHOST_SCSI_ABI_VERSION starting point
> > here..?
> > 
> > I thought that v1 would be helpful to avoid confusion with the older
> > userspace code, but don't really have a strong opinion either way..
> > 
> > Let me know what you'd prefer here, and I'll make the changes to
> > tcm_vhost + vhost-scsi patch series accordingly.
> 
> I don't think 0 for out-of-tree is needed.  I'd start at 0 but either
> way is okay.
> 

<nod>

In that case, respinning a -v5 for tcm_vhost to start from ABI=0 and
will post an updated patch shortly.

> The main thing I would like to confirm is that this only versions the
> tcm_vhost ioctls?  In that case a single version number works.
> 

Correct, the GET_ABI_VERSION call is only intended to identify the
changing of tcm_vhost ioctls.

  parent reply	other threads:[~2012-07-26  2:34 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-24  1:26 [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION Nicholas A. Bellinger
2012-07-24  1:26 ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-24  1:56 ` Greg Kroah-Hartman
2012-07-24  1:56   ` [Qemu-devel] " Greg Kroah-Hartman
2012-07-24 20:45   ` Nicholas A. Bellinger
2012-07-24 20:45   ` Nicholas A. Bellinger
2012-07-24 20:45     ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-25 11:55     ` Stefan Hajnoczi
2012-07-25 11:55       ` [Qemu-devel] " Stefan Hajnoczi
2012-07-25 21:14       ` Nicholas A. Bellinger
2012-07-25 21:14         ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-25 22:35         ` Stefan Hajnoczi
2012-07-25 22:35           ` [Qemu-devel] " Stefan Hajnoczi
2012-07-26  2:34           ` Nicholas A. Bellinger
2012-07-26  2:34             ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-26  8:58             ` Avi Kivity
2012-07-26  8:58               ` [Qemu-devel] " Avi Kivity
2012-07-26 20:15               ` Nicholas A. Bellinger
2012-07-26 20:15                 ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-29 12:35                 ` Michael S. Tsirkin
2012-07-29 12:35                   ` [Qemu-devel] " Michael S. Tsirkin
2012-07-29 12:50                 ` Avi Kivity
2012-07-29 12:50                   ` [Qemu-devel] " Avi Kivity
2012-07-26  2:34           ` Nicholas A. Bellinger [this message]
2012-07-25 22:35         ` Stefan Hajnoczi
2012-07-25 21:14       ` Nicholas A. Bellinger
2012-07-25 13:10     ` Avi Kivity
2012-07-25 13:10       ` [Qemu-devel] " Avi Kivity
2012-07-25 21:10       ` Nicholas A. Bellinger
2012-07-25 21:10         ` [Qemu-devel] " Nicholas A. Bellinger
2012-07-29 12:27         ` Michael S. Tsirkin
2012-07-29 12:27           ` [Qemu-devel] " Michael S. Tsirkin
2012-07-25 21:10       ` Nicholas A. Bellinger
2012-07-24  1:56 ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2012-07-24  1:26 Nicholas A. Bellinger

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='1343270061.1813.181.camel__11511.5503118888$1343270078$gmane$org@haakon2.linux-iscsi.org' \
    --to=nab@linux-iscsi.org \
    --cc=aliguori@linux.vnet.ibm.com \
    --cc=avi@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=kvm@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@linux.vnet.ibm.com \
    --cc=target-devel@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=wuzhy@cn.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.