qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr


From: John Levon
Subject: Re: [PATCH 01/27] vfio: return mr from vfio_get_xlat_addr
Date: Thu, 15 May 2025 16:46:14 +0100

On Thu, May 15, 2025 at 04:43:46PM +0100, John Levon wrote:

> From: Steve Sistare <steven.sistare@oracle.com>
> 
> Modify memory_get_xlat_addr and vfio_get_xlat_addr to return the memory
> region that the translated address is found in.  This will be needed by
> CPR in a subsequent patch to map blocks using IOMMU_IOAS_MAP_FILE.
> 
> Also return the xlat offset, so we can simplify the interface by removing
> the out parameters that can be trivially derived from mr and xlat.
> 
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>

FWIW I'm aware there's recent discussion on this patch separately, but I've
needed to include it in this series for the subsequent changes.

thanks
john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]