From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH] virtio-spec: add field for scsi command size Date: Wed, 19 Jun 2013 12:21:27 +0300 Message-ID: <20130619092127.GB2816@redhat.com> References: <20130314111020.GA18050@redhat.com> <5141E990.7070609@redhat.com> <20130314173918.GB29411@redhat.com> <87k3lyzknl.fsf@rustcorp.com.au> <20130613080259.GA11175@redhat.com> <20130613081047.GA11269@redhat.com> <20130617063746.GA5693@redhat.com> <87r4fyn1wx.fsf@rustcorp.com.au> <20130619082417.GA2558@redhat.com> <51C16BC2.2060302@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <51C16BC2.2060302@redhat.com> 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: Paolo Bonzini Cc: virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Wed, Jun 19, 2013 at 10:28:50AM +0200, Paolo Bonzini wrote: > Il 19/06/2013 10:24, Michael S. Tsirkin ha scritto: > >> > 2) We introduce VIRTIO_NET_F_ANY_LAYOUT and VIRTIO_BLK_F_ANY_LAYOUT > >> > specifically for net and block (note the new names). > > So why not a transport feature? Is it just because the SCSI commands > for virtio-blk also require a config space field? Sorry if I missed > this upthread. > > Paolo One of the reasons is we've run out of transport features :) > >> > 3) I note the special case of stupid descriptors. > >> > 4) Enjoy our humble pie, don't hide it in a footnote! > >> > > >> > If that seems OK, I'll modify the net and block specs appropriately. > >> > > >> > Cheers, > >> > Rusty. > > Acked-by: Michael S. Tsirkin > > > > an additional suggestion: limit max s/g > > to vq size (it's in theory possible to go higher with indirect > > descriptors, but we need some limit, and queue size gives us > > a nice way to say "this is a max descriptor size").