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