vhost: introduce new VhostOps vhost_vq_get_addr
authorCindy Lu <lulu@redhat.com>
Wed, 1 Jul 2020 14:55:32 +0000 (22:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (07:57 -0400)
commit35f20bb76922420edce8196e6215b0ca49443378
tree67e1cd22f4af9f5dc3acea868c9a3f161951821f
parentca71db438bdc317c7b8ef890c3d9a804cec109b5
vhost: introduce new VhostOps vhost_vq_get_addr

This patch introduces new VhostOps vhost_vq_get_addr_op callback to get
the vring addr from the backend

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20200701145538.22333-9-lulu@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
include/hw/virtio/vhost-backend.h