summaryrefslogtreecommitdiffstats
path: root/drivers/virtio/virtio_ring.c
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-02-02 21:46:39 -0800
committerMichael S. Tsirkin <mst@redhat.com>2016-03-02 17:01:58 +0200
commit7a5589b240b405d55b2b395554082ec284f414bb (patch)
tree9f33193d968818ec232015ab60b191142bcb14ed /drivers/virtio/virtio_ring.c
parentb42111382f0e677e2e227c5c4894423cbdaed1f1 (diff)
downloadlinux-7a5589b240b405d55b2b395554082ec284f414bb.tar.bz2
virtio_pci: Use the DMA API if enabled
This switches to vring_create_virtqueue, simplifying the driver and adding DMA API support. This fixes virtio-pci on platforms and busses that have IOMMUs. This will break the experimental QEMU Q35 IOMMU support until QEMU is fixed. In exchange, it fixes physical virtio hardware as well as virtio-pci running under Xen. Signed-off-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_ring.c')
0 files changed, 0 insertions, 0 deletions