summaryrefslogtreecommitdiffstats
path: root/hw/arm/integratorcp.c
diff options
context:
space:
mode:
authorAlex Williamson2015-02-10 18:25:44 +0100
committerAlex Williamson2015-02-10 18:25:44 +0100
commit2e6e697e166568fdd09ceaa8c7c8c8c53a5e345b (patch)
tree6c3d5891b0522b6e204ea779b418d193c9416a66 /hw/arm/integratorcp.c
parentvfio: unmap and free BAR data in instance_finalize (diff)
downloadqemu-2e6e697e166568fdd09ceaa8c7c8c8c53a5e345b.tar.gz
qemu-2e6e697e166568fdd09ceaa8c7c8c8c53a5e345b.tar.xz
qemu-2e6e697e166568fdd09ceaa8c7c8c8c53a5e345b.zip
vfio: Use vfio type1 v2 IOMMU interface
The difference between v1 and v2 is fairly subtle, simply more deterministic behavior for unmaps. The v1 interface allows the user to attempt to unmap sub-regions of previous mappings, returning success with zero size if unable to comply. This was a reflection of the underlying IOMMU API. The v2 interface requires that the user may only unmap fully contained mappings, ie. an unmap cannot intersect or bisect a previous mapping, but may cover multiple mappings. QEMU never made use of the sub-region v1 support anyway, so we can support either v1 or v2. We'll favor v2 since it's newer. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/arm/integratorcp.c')
0 files changed, 0 insertions, 0 deletions