summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2014-10-07 16:39:47 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-09 12:05:25 +0200
commit890626521503318d7ac92a4a3b9feba55c0131ec (patch)
tree643da66cb95f5afbfc752901654626c373e26820 /drivers/virtio/virtio.c
parent92e6d7438ee631aac85258ee3d4de8c860d8c32f (diff)
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 <dahi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio.c')
0 files changed, 0 insertions, 0 deletions