lkml.org 
[lkml]   [2023]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH V3 06/16] x86/hyperv: decrypt vmbus pages for sev-snp enlightened guest
From
On 2/1/2023 1:58 AM, Michael Kelley (LINUX) wrote:
>> +
>> + ret = set_memory_decrypted((unsigned long)
>> + hv_cpu->post_msg_page, 1);
>> + if (ret)
>> + goto err_decrypt_msg_page;
>> +
>> + memset(hv_cpu->synic_message_page, 0, PAGE_SIZE);
>> + memset(hv_cpu->synic_event_page, 0, PAGE_SIZE);
>> + memset(hv_cpu->post_msg_page, 0, PAGE_SIZE);
>> + }
> Having decrypted the pages here in hv_synic_alloc(), shouldn't
> there be corresponding re-encryption in hv_synic_free()?
>

Yes, I ignore in this version and will fix it.

Thanks.

\
 
 \ /
  Last update: 2023-03-27 00:08    [W:0.072 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site