Re: [kvm-unit-tests PATCH v3 09/17] x86: cet: Validate CET states during VMX transitions

Mathias Krause
2025-11-14T08:10:29Z

On 14.11.25 01:12, Sean Christopherson wrote:
> [...]
>
> diff --git a/x86/unittests.cfg b/x86/unittests.cfg
> index acb8a8ba..ec07d26b 100644
> --- a/x86/unittests.cfg
> +++ b/x86/unittests.cfg
> @@ -453,6 +453,13 @@ arch = x86_64
> groups = vmx nested_exception
> check = /sys/module/kvm_intel/parameters/allow_smaller_maxphyaddr=Y
>
> +[vmx_cet_test]
> +file = vmx.flat

> +extra_params = -cpu max,+vmx -append "vmx_cet_test"

This is missing the fixup from
https://lore.kernel.org/kvm/e5377f36-bc19-4b16-bbbe-884951fb414b@grsecurity.net/:

-extra_params = -cpu max,+vmx -append "vmx_cet_test"
+test_args = "vmx_cet_test"
+qemu_params = -cpu max,+vmx

> +arch = x86_64
> +groups = vmx
> +timeout = 240
> +
> [debug]
> file = debug.flat
> arch = x86_64
> [...]

Thanks,
Mathias