summaryrefslogtreecommitdiffstats
path: root/include/hw/vfio
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2016-05-26 17:43:22 +0200
committerAlex Williamson2016-05-26 19:12:07 +0200
commit7a057b4fb9dec2baf975d1737a7258602e793c40 (patch)
tree9c68c565d84e073ee0ec8aca46b4fac92e95adf1 /include/hw/vfio
parentvfio/pci: Add IGD documentation (diff)
downloadqemu-7a057b4fb9dec2baf975d1737a7258602e793c40.tar.gz
qemu-7a057b4fb9dec2baf975d1737a7258602e793c40.tar.xz
qemu-7a057b4fb9dec2baf975d1737a7258602e793c40.zip
vfio: Fix 128 bit handling when deleting region
7532d3cbf "vfio: Fix 128 bit handling" added support for 64bit IOMMU memory regions when those are added to VFIO address space; however removing code cannot cope with these as int128_get64() will fail on 1<<64. This copies 128bit handling from region_add() to region_del(). Since the only machine type which is actually going to use 64bit IOMMU is pseries and it never really removes them (instead it will dynamically add/remove subregions), this should cause no behavioral change. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/vfio')
0 files changed, 0 insertions, 0 deletions