virtio: make vring_desc_*() take phys addrs
commit5774cf98ca7da4161ee4265a2db0d92ffff005f3
authorMark McLoughlin <markmc@redhat.com>
Wed, 17 Jun 2009 10:37:32 +0000 (17 11:37 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Jun 2009 15:10:50 +0000 (22 10:10 -0500)
tree290d14c4f3b0280a4d2ebd80b8111f9db014dcc5
parent024431b3d8bf87b57fbbf01a9b5d273f86b0e6a7
virtio: make vring_desc_*() take phys addrs

Change the vring descriptor helpers to take the physical
address of the descriptor table rather than a virtqueue.

This is needed in order to allow these helpers to be used
with an indirect descriptor table.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio.c