Re: [PATCH RFC v8 08/56] KVM: SEV: Rename sev_{pin,unpin}_memory
From: Vlastimil Babka
Date: Fri Mar 03 2023 - 09:00:54 EST
On 2/20/23 19:37, Michael Roth wrote:
> From: Nikunj A Dadhania <nikunj@xxxxxxx>
>
> Rename sev_{pin|unpin}_memory to sev_memory_{get|put}_pages. Apart
> from pinning the pages, sev_pin_memory also populates the pages array
> which is used by its callers. SEV guest using restricted memfd do not
> to pin the memory but will require the pages array to be populated.
^need to?
> Rename the function appropriately.
>
> No functional change intended.
>
> Signed-off-by: Nikunj A Dadhania <nikunj@xxxxxxx>
> Signed-off-by: Michael Roth <michael.roth@xxxxxxx>