]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: SEV: Publish supported SEV-SNP policy bits
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 27 Oct 2025 19:33:51 +0000 (14:33 -0500)
committerSean Christopherson <seanjc@google.com>
Fri, 14 Nov 2025 18:30:12 +0000 (10:30 -0800)
commit7a61d61396b97fd6bb9b9bde321c68513034ad11
treeff251d5f2f76059fe57ff64995c471268015ea5a
parentc9434e64e8b4d17511f514f7495008f573595e3e
KVM: SEV: Publish supported SEV-SNP policy bits

Define the set of policy bits that KVM currently knows as not requiring
any implementation support within KVM. Provide this value to userspace
via the KVM_GET_DEVICE_ATTR ioctl.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://patch.msgid.link/c596f7529518f3f826a57970029451d9385949e5.1761593632.git.thomas.lendacky@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/uapi/asm/kvm.h
arch/x86/kvm/svm/sev.c