diff options
| author | Jason Wang | 2016-12-30 11:09:10 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-01-10 04:56:58 +0100 |
| commit | 8607f5c3072caeebbe0217df28651fffd3a79fd9 (patch) | |
| tree | 1510ec22428bb73d8dc8c719eee52eae33b43853 /scripts/switch-timer-api | |
| parent | virtio-crypto: fix possible integer and heap overflow (diff) | |
| download | qemu-8607f5c3072caeebbe0217df28651fffd3a79fd9.tar.gz qemu-8607f5c3072caeebbe0217df28651fffd3a79fd9.tar.xz qemu-8607f5c3072caeebbe0217df28651fffd3a79fd9.zip | |
virtio: convert to use DMA api
Currently, all virtio devices bypass IOMMU completely. This is because
address_space_memory is assumed and used during DMA emulation. This
patch converts the virtio core API to use DMA API. This idea is
- introducing a new transport specific helper to query the dma address
space. (only pci version is implemented).
- query and use this address space during virtio device guest memory
accessing when iommu platform (VIRTIO_F_IOMMU_PLATFORM) was enabled
for this device.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-block@nongnu.org
Signed-off-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
