virtio: notifier support + APIs for queue fields
commit1cbdabe203164433fbbec3a1815d8be42a085c88
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Mar 2010 11:08:02 +0000 (17 13:08 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 1 Apr 2010 18:56:43 +0000 (1 13:56 -0500)
treeb89555396c3e133b455c839451f8951ba015db60
parent2292b33986de9e2ac10b2674f85722bdfbc977d5
virtio: notifier support + APIs for queue fields

vhost needs physical addresses for ring and other queue fields,
so add APIs for these. In particular, add binding API to set
host/guest notifiers.  Will be used by vhost.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio.c
hw/virtio.h