All of lore.kernel.org
 help / color / mirror / Atom feed
* SNP guest policy support
@ 2025-08-13 13:18 Tom Lendacky
  2025-08-21 16:39 ` Sean Christopherson
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Lendacky @ 2025-08-13 13:18 UTC (permalink / raw)
  To: Sean Christopherson, Paolo Bonzini, kvm; +Cc: Michael Roth

Paolo/Sean,

I'm looking to expand the supported set of policy bits that the VMM can
supply on an SNP guest launch (e.g. requiring ciphertext hiding, etc.).

Right now we have the SNP_POLICY_MASK_VALID bitmask that is used to
check for KVM supported policy bits. From the previous patches I
submitted to add the SMT and SINGLE_SOCKET policy bit support, there was
some thought of possibly providing supported policy bits to userspace.

Should we just update the mask as we add support for new policy bits? Or
should we do something similar to the sev_supported_vmsa_features
support and add a KVM_X86_SEV_POLICY_SUPPORT attribute to the
KVM_X86_GRP_SEV? Or...?

Thoughts?

Thanks,
Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-08-21 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-13 13:18 SNP guest policy support Tom Lendacky
2025-08-21 16:39 ` Sean Christopherson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.