commit | 7a5589b240b405d55b2b395554082ec284f414bb | [log] [tgz] |
---|---|---|
author | Andy Lutomirski <luto@kernel.org> | Tue Feb 02 21:46:39 2016 -0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Mar 02 17:01:58 2016 +0200 |
tree | 9f33193d968818ec232015ab60b191142bcb14ed | |
parent | b42111382f0e677e2e227c5c4894423cbdaed1f1 [diff] |
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>