]> git.ipfire.org Git - thirdparty/qemu.git/commit
system/iommufd: Use uint64_t type for IOVA mapping size
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 30 Sep 2025 12:35:25 +0000 (14:35 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 2 Oct 2025 08:41:23 +0000 (10:41 +0200)
commit70a7e33ddb7f2ca7caacf286222bd80fd330c454
tree512b25118e060acf3bf8be416fd9c3f2ca9a2f44
parent1d9a832b58be63e53ef0d2342c271a34ecb349db
system/iommufd: Use uint64_t type for IOVA mapping size

The 'ram_addr_t' type is described as:

  a QEMU internal address space that maps guest RAM physical
  addresses into an intermediate address space that can map
  to host virtual address spaces.

This doesn't represent well an IOVA mapping size. Simply use
the uint64_t type.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250930123528.42878-2-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
backends/iommufd.c
include/system/iommufd.h