]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/vfio: Use uint64_t for IOVA mapping size in vfio_container_dma_*map
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 30 Sep 2025 12:35:28 +0000 (14:35 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 2 Oct 2025 08:41:23 +0000 (10:41 +0200)
commitf0b52aa08ab0868c18d881381a8fda4b59b37517
treec1703b8684fedddb4c3c2286a53a6575e6dc9500
parent0ca70d3bf722a94c53f254670e6a642e77aa077c
hw/vfio: Use uint64_t for IOVA mapping size in vfio_container_dma_*map

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-5-philmd@linaro.org
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio-user/container.c
hw/vfio/container-legacy.c
hw/vfio/container.c
hw/vfio/cpr-legacy.c
hw/vfio/iommufd.c
include/hw/vfio/vfio-container.h
include/hw/vfio/vfio-cpr.h