From: Cornelia Huck Date: Tue, 7 Oct 2014 14:39:47 +0000 (+0200) Subject: virtio: allow transports to get avail/used addresses X-Git-Tag: omap-for-v3.19/fixes-rc1~129^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=890626521503318d7ac92a4a3b9feba55c0131ec;p=pandora-kernel.git virtio: allow transports to get avail/used addresses For virtio-1, we can theoretically have a more complex virtqueue layout with avail and used buffers not on a contiguous memory area with the descriptor table. For now, it's fine for a transport driver to stay with the old layout: It needs, however, a way to access the locations of the avail/used rings so it can register them with the host. Reviewed-by: David Hildenbrand Signed-off-by: Cornelia Huck Signed-off-by: Michael S. Tsirkin --- Reading git-diff-tree failed