On Wed, 9 Nov 2016 01:11:20 +0000 "Gonglei (Arei)" <arei.gong...@huawei.com> wrote:
> Nope, Actually I kept those description here is because I wanted to represent > each packet > Intuitionally, otherwise I don't know how to explain them only occupy one > entry in desc table > by indirect table method. So I changed the code completely as Stefan's > suggestion and > revised the spec a little. I think you need to revise the spec a bit more :) IIUC, you should simply state that you use the indirect table method and not mention any guest physical addresses. > This just is a representative of the realization so that the people can > easily understand what > the virtio crypto request's components. It isn't completely same with the > code. > For virtio-scsi device, the struct virtio_scsi_req_cmd also used this way > IIUR. It seemes to have caused at least some confusion - perhaps you simplyfied too much?