From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuUTI-0005I5-1r for qemu-devel@nongnu.org; Thu, 26 Jul 2012 16:15:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuUTC-0000kN-4d for qemu-devel@nongnu.org; Thu, 26 Jul 2012 16:15:43 -0400 Received: from mail.linux-iscsi.org ([67.23.28.174]:53460 helo=linux-iscsi.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuUTB-0000ir-W2 for qemu-devel@nongnu.org; Thu, 26 Jul 2012 16:15:38 -0400 From: "Nicholas A. Bellinger" In-Reply-To: <5011069A.2080203@redhat.com> References: <1343093180-5598-1-git-send-email-nab@linux-iscsi.org> <20120724015634.GD4093@kroah.com> <1343162724.1813.111.camel@haakon2.linux-iscsi.org> <20120725115552.GB11098@stefanha-thinkpad.localdomain> <1343250890.1813.173.camel@haakon2.linux-iscsi.org> <20120725223559.GA4786@stefanha-thinkpad.localdomain> <1343270061.1813.181.camel@haakon2.linux-iscsi.org> <5011069A.2080203@redhat.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 26 Jul 2012 13:15:26 -0700 Message-ID: <1343333727.22538.3.camel@haakon2.linux-iscsi.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Jens Axboe , Stefan Hajnoczi , kvm-devel , "Michael S. Tsirkin" , Greg Kroah-Hartman , Zhi Yong Wu , qemu-devel , lf-virt , Anthony Liguori , target-devel , Hannes Reinecke , linux-scsi , Paolo Bonzini , Zhi Yong Wu , Christoph Hellwig On Thu, 2012-07-26 at 11:58 +0300, Avi Kivity wrote: > On 07/26/2012 05:34 AM, Nicholas A. Bellinger wrote: > > > > 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. > > Why use version numbers at all? > This was a request by QEMU folks.. > Feature maps are better, because you can get very fine granularity. > > Example..? If there is a better way to handle ioctl compat I'd certainly like to hear about it.