Re: [PATCH v5 1/3] system/memory: Use memmove() for directly accessible regions

Philippe Mathieu-Daudé <[email protected]>
Newsgroups gmane.comp.emulators.qemu
Message-ID <[email protected]>
On 28/7/26 05:17, Gavin Shan wrote:
> Similar to what's done in commit 4a73aee88140 ("softmmu: Use memmove in
> flatview_write_continue"), there are more sites where the overlapping
> source and destination buffer are allowed for the directly accessible
> regions. Use memmove() in those sites, listed as below.
> 
>    hw/remote/vfio-user-obj.c::vfu_object_mr_rw
>    include/system/memory.h::address_space_read
>    system/physmem.c::flatview_read_continue_step
> 
> Signed-off-by: Gavin Shan <[email protected]>
> Reviewed-by: Peter Maydell <[email protected]>
> Reviewed-by: Peter Xu <[email protected]>
> ---
>   hw/remote/vfio-user-obj.c | 4 ++--
>   include/system/memory.h   | 2 +-
>   system/physmem.c          | 2 +-
>   3 files changed, 4 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.