Re: [PATCH v2 8/8] KVM: SVM: Allocate SEV command structures on local stack

From: Borislav Petkov
Date: Wed Apr 07 2021 - 13:34:37 EST


On Wed, Apr 07, 2021 at 05:05:07PM +0000, Sean Christopherson wrote:
> I used memset() to defer initialization until after the various sanity
> checks,

I'd actually vote for that too - I don't like doing stuff which is not
going to be used. I.e., don't change what you have.

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg