Messages in this thread | | | Date | Thu, 22 Apr 2021 14:18:29 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v5 06/15] x86/sev: Drop redundant and potentially misleading 'sev_enabled' |
| |
On Thu, Apr 22, 2021 at 02:05:46PM +0200, Paolo Bonzini wrote: > Boris or another x86 maintainer, can you ack this small patch? We would > like to use sev_enabled as a static variable in KVM.
Yeah, all those "is anything SEV-like enabled" mechanisms would need refactoring before it goes nuts. I think we should do this
bool sev_feature_enabled(enum sev_feature)
thing at some point:
https://lkml.kernel.org/r/20210421144402.GB5004@zn.tnic
And TDX would probably need something similar.
Thx.
-- Regards/Gruss, Boris.
SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg
| |