memory: Add Error** argument to memory_get_xlat_addr()
commitebb481c03c22eaf052b02c37ddd53989a078b771
authorCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 12:46:56 +0000 (16 14:46 +0200)
committerCédric Le Goater <clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000 (16 16:59 +0200)
treedd4b890ff0ff8b3ba69f9b72208f52a851270e37
parent94d12088409b9544dd4e191e2971c47ecec4c315
memory: Add Error** argument to memory_get_xlat_addr()

Let the callers do the reporting. This will be useful in
vfio_iommu_map_dirty_notify().

Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: David Hildenbrand <david@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/common.c
hw/virtio/vhost-vdpa.c
include/exec/memory.h
system/memory.c