lkml.org 
[lkml]   [2026]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 7/7] KVM: SVM: Enable Restricted Injection for an SEV-SNP guest
On Fri, Apr 24, 2026 at 05:51:05PM +0000, Melody Wang wrote:
> +/* enable/disable SEV-SNP Restricted Injection support */
> +static bool sev_snp_restricted_injection_enabled = true;
> +module_param_named(restricted_injection, sev_snp_restricted_injection_enabled, bool, 0444);

Any particular reason for a module parameter? I think it is fine to just offer
the feature when supported by the hardware and enable it when the VMM (or the
guest, when planes land) requests it.

-Joerg

\
 
 \ /
  Last update: 2026-04-28 13:13    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog