Re: [PATCH v2] KVM: SVM: Mark SEV launch secret pages as dirty.

2020-08-10 Thread Brijesh Singh
On 8/7/20 7:37 PM, Cfir Cohen wrote: > The LAUNCH_SECRET command performs encryption of the > launch secret memory contents. Mark pinned pages as > dirty, before unpinning them. > This matches the logic in sev_launch_update_data(). > > Signed-off-by: Cfir Cohen > --- > Changelog since v1: > - U

[PATCH v2] KVM: SVM: Mark SEV launch secret pages as dirty.

2020-08-07 Thread Cfir Cohen
The LAUNCH_SECRET command performs encryption of the launch secret memory contents. Mark pinned pages as dirty, before unpinning them. This matches the logic in sev_launch_update_data(). Signed-off-by: Cfir Cohen --- Changelog since v1: - Updated commit message. arch/x86/kvm/svm/sev.c | 15 +++