Re: [PATCH RFC v8 08/56] KVM: SEV: Rename sev_{pin,unpin}_memory

From: Nikunj A. Dadhania
Date: Mon Mar 06 2023 - 06:02:29 EST




On 03/03/23 19:30, Vlastimil Babka wrote:
> 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?
>

Sure

Regards,
Nikunj