virtio_mmio: Use the DMA API if enabled
authorAndy Lutomirski <luto@kernel.org>
Wed, 3 Feb 2016 05:46:38 +0000 (21:46 -0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Mar 2016 15:01:58 +0000 (17:01 +0200)
commitb42111382f0e677e2e227c5c4894423cbdaed1f1
tree029ad59b8fe9d07a25a0d96eacbc373e845a2632
parent2a2d1382fe9dccfce6f9c60a9c9fd2f0fe5bcf2b
virtio_mmio: Use the DMA API if enabled

This switches to vring_create_virtqueue, simplifying the driver and
adding DMA API support.

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