diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-05-26 09:43:22 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-05-26 11:12:07 -0600 |
commit | 7a057b4fb9dec2baf975d1737a7258602e793c40 (patch) | |
tree | 9c68c565d84e073ee0ec8aca46b4fac92e95adf1 /hw/ppc | |
parent | 0eb734241762bc63bf8308bed3573431f195ddcf (diff) | |
download | qemu-7a057b4fb9dec2baf975d1737a7258602e793c40.zip qemu-7a057b4fb9dec2baf975d1737a7258602e793c40.tar.gz qemu-7a057b4fb9dec2baf975d1737a7258602e793c40.tar.bz2 |
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 'hw/ppc')
0 files changed, 0 insertions, 0 deletions