lkml.org 
[lkml]   [2021]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 06/16] KVM: selftests: add library for creating/interacting with SEV guests
From
On 12/10/21 14:55, Michael Roth wrote:
> One more I should mention:
>
> 4) After encryption, the page table is no longer usable for translations by
> stuff like addr_gva2gpa(), so tests would either need to be
> audited/updated to do these translations upfront and only rely on
> cached/stored values thereafter, or perhaps a "shadow" copy could be
> maintained by kvm_util so the translations will continue to work
> after encryption.

Yeah, this is a big one. Considering that a lot of the selftests are
for specific bugs, the benefit in running them with SEV is relatively
low. That said, there could be some simple tests where it makes sense,
so it'd be nice to plan a little ahead so that it isn't _too_ difficult.

Paolo

\
 
 \ /
  Last update: 2021-10-21 17:44    [W:0.076 / U:3.916 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site