Re: [PATCH 3/7] mshv: Rename mshv_mem_region to mshv_region
From: Anirudh Rayabharam
Date: Thu Apr 02 2026 - 12:43:16 EST
On Wed, Apr 01, 2026 at 10:12:40PM +0000, Stanislav Kinsburskii wrote:
> The mshv_mem_region structure represents guest address space regions,
> which can be either RAM-backed memory or memory-mapped IO regions
> without physical backing. The "mem_" prefix incorrectly suggests the
> structure only handles memory regions, creating confusion about its
> actual purpose.
>
> Remove the "mem_" prefix to align with existing function naming
> (mshv_region_map, mshv_region_pin, etc.) and accurately reflect that
> this structure manages arbitrary guest address space mappings
> regardless of their backing type.
I don't think the "mem_" prefix automatically suggested the backing
type.
Isn't mshv_region too vague now? Region of what?
Thanks,
Anirudh.