On Thu, 29 May 2025 15:19:13 -0700, Sean Christopherson wrote: > Copy KVM selftests' X86_PROPERTY_* infrastructure (multi-bit CPUID > fields), and use the properties to clean up various warts. The SEV code > is particular makes things much harder than they need to be (I went down > this rabbit hole purely because the stupid MSR_SEV_STATUS definition was > buried behind CONFIG_EFI=y, *sigh*). > > The first patch is a common change to add static_assert() as a wrapper > to _Static_assert(). Forcing code to provide an error message just leads > to useless error messages. > > [...] To avoid spamming non-x86 folks with noise, applied patch 1 to kvm-x86 next. I'll send a v2 for the rest. [01/16] lib: Add and use static_assert() convenience wrappers https://github.com/kvm-x86/kvm-unit-tests/commit/863e0b90fb88 -- https://github.com/kvm-x86/kvm-unit-tests/tree/next