xemu/hw/vfio
Bandan Das 55efcc537d 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>
2016-03-28 13:27:49 -06:00
..
amd-xgbe.c all: Clean up includes 2016-02-23 12:43:05 +00:00
calxeda-xgmac.c hw/vfio: Clean up includes 2016-01-29 15:07:24 +00:00
common.c vfio: convert to 128 bit arithmetic calculations when adding mem regions 2016-03-28 13:27:49 -06:00
Makefile.objs hw/vfio/platform: amd-xgbe device 2016-02-19 09:42:29 -07:00
pci-quirks.c vfio/pci: Convert all MemoryRegion to dynamic alloc and consistent functions 2016-03-10 20:50:38 -07:00
pci.c vfio/pci: replace fixed string limit by g_strdup_printf 2016-03-10 20:50:43 -07:00
pci.h vfio/pci: Split out VGA setup 2016-03-10 20:50:41 -07:00
platform.c vfio: Generalize region support 2016-03-10 20:03:16 -07:00