aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2016-03-23 20:37:25 -0400
committerAlex Williamson <alex.williamson@redhat.com>2016-03-28 13:27:49 -0600
commit55efcc537d330f1659d3fa171a66eebc9327e91b (patch)
tree840c60f0b1c31235584f3fe827ebe9987f96df8d /slirp
parentb68a80139e37e806f004237e55311ebc42151434 (diff)
downloadqemu-55efcc537d330f1659d3fa171a66eebc9327e91b.zip
qemu-55efcc537d330f1659d3fa171a66eebc9327e91b.tar.gz
qemu-55efcc537d330f1659d3fa171a66eebc9327e91b.tar.bz2
vfio: convert to 128 bit arithmetic calculations when adding mem regions
vfio_listener_region_add for a iommu mr results in an overflow assert since iommu memory region is initialized with UINT64_MAX. Convert calculations to 128 bit arithmetic for iommu memory regions and let int128_get64 assert for non iommu regions if there's an overflow. Suggested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Bandan Das <bsd@redhat.com> [missed (end - 1) on 2nd trace call, move llsize closer to use] Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'slirp')
0 files changed, 0 insertions, 0 deletions