From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] vhost-blk: Add vhost-blk support v2 Date: Thu, 18 Oct 2012 08:30:40 +0200 Message-ID: <20121018063040.GA15676@redhat.com> References: <1349769918-8611-1-git-send-email-asias@redhat.com> <20121011124125.GA8074@redhat.com> <507818BE.7060404@redhat.com> <87d30go1g7.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <87d30go1g7.fsf@rustcorp.com.au> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Rusty Russell Cc: kvm@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Thu, Oct 18, 2012 at 02:50:56PM +1030, Rusty Russell wrote: > Asias He writes: > >>> +#define BLK_HDR 0 > >> > >> What's this for, exactly? Please add a comment. > > > > The block headr is in the first and separate buffer. > > Please don't assume this! We're trying to fix all the assumptions in > qemu at the moment. > > vhost_net handles this correctly, taking bytes off the descriptor chain > as required. > > Thanks, > Rusty. BTW are we agreed on the spec update that makes cmd 32 bytes?