On 5/12/2025 4:51 PM, John Levon wrote:
On Mon, May 12, 2025 at 08:32:37AM -0700, Steve Sistare wrote:

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.sist...@oracle.com>

Steve, would you consider splitting this out from the full CPR series and
submitting as a standalone, as we both have a dependency on doing this, and your
patch seems much nicer than the current one in vfio-user series?

Sure.  I just returned from vacation, and I see you submitted it.

- Steve

Reply via email to