Re: [PATCH v2 0/2] KVM: selftests: SEV: address two TODOs in the SEV tests

Sean Christopherson <[email protected]>
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest
Message-ID <[email protected]>
On Thu, 09 Jul 2026 23:19:53 +0530, Hemanth Selam wrote:
> This small series fills in two pre-existing TODOs in the x86 SEV
> selftests. Both are test-only changes; there is no functional change to
> the kernel.
> 
> Patch 1 adds negative coverage to sev_init2_tests: when the platform
> does not support a given SEV VM type (SEV-ES or SEV-SNP), it verifies
> that KVM_CREATE_VM rejects that type with -EINVAL. Previously the test
> only exercised the VM types that were supported, so a mismatch between
> KVM_CAP_VM_TYPES and the actual KVM_CREATE_VM enforcement would have
> gone unnoticed.
> 
> [...]

Applied to kvm-x86 selftests, with many fixups, thanks!  (FYI, I applied v3; I
tried to fixup In-Reply-To to get the threading right, but just in case I
botched that...)

[1/1] KVM: selftests: Add a test for KVM_CREATE_VM VM type enforcement
      https://github.com/kvm-x86/linux/commit/b18ee21055a7

--
https://github.com/kvm-x86/linux/tree/next
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.