On Mon, Apr 07, 2025 at 03:49:21PM +0800, Chenyi Qiang wrote:
> Date: Mon,  7 Apr 2025 15:49:21 +0800
> From: Chenyi Qiang <chenyi.qi...@intel.com>
> Subject: [PATCH v4 01/13] memory: Export a helper to get intersection of a
>  MemoryRegionSection with a given range
> X-Mailer: git-send-email 2.43.5
> 
> Rename the helper to memory_region_section_intersect_range() to make it
> more generic. Meanwhile, define the @end as Int128 and replace the
> related operations with Int128_* format since the helper is exported as
> a wider API.
> 
> Suggested-by: Alexey Kardashevskiy <a...@amd.com>
> Reviewed-by: David Hildenbrand <da...@redhat.com>
> Signed-off-by: Chenyi Qiang <chenyi.qi...@intel.com>
> ---
> Changes in v4:
>     - No change.
> 
> Changes in v3:
>     - No change
> 
> Changes in v2:
>     - Make memory_region_section_intersect_range() an inline function.
>     - Add Reviewed-by from David
>     - Define the @end as Int128 and use the related Int128_* ops as a wilder
>       API (Alexey)
> ---
>  hw/virtio/virtio-mem.c | 32 +++++---------------------------
>  include/exec/memory.h  | 27 +++++++++++++++++++++++++++
>  2 files changed, 32 insertions(+), 27 deletions(-)

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to