[PATCH] virtio-spec: add field for scsi command size

Paolo Bonzini
2013-06-19T08:28:50Z

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

>> > 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 <mst at redhat.com>
>
> 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").