vring: Introduce vring_use_dma_api()
authorAndy Lutomirski <luto@kernel.org>
Wed, 3 Feb 2016 05:46:35 +0000 (21:46 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Mar 2016 15:01:56 +0000 (17:01 +0200)
commitd26c96c8102549f91eb0bea6196d54711ab52176
tree12204a8326e31940402e0725ea99d71bbeb0e408
parente82becfc1879a43aa29492ae90ea6eb6c68b60fc
vring: Introduce vring_use_dma_api()

This is a kludge, but no one has come up with a a better idea yet.
We'll introduce DMA API support guarded by vring_use_dma_api().
Eventually we may be able to return true on more and more systems,
and hopefully we can get rid of vring_use_dma_api() entirely some
day.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c