Re: [PATCH 02/12] KVM: selftests: Extend vmx_set_nested_state_test to cover SVM

Jim Mattson
2025-10-09T22:40:57Z

On Wed, Oct 1, 2025 at 8:03 AM Yosry Ahmed <yosry.ahmed@linux.dev> wrote:
>
> From: Yosry Ahmed <yosryahmed@google.com>
>
> Add test cases for the validation checks in svm_set_nested_state(), and
> allow the test to run with SVM as well as VMX.
>
> Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
> ---
> ...
> + /* If EFER.SVME is clear, GIF must be set and guest mode is disallowed */

The GIF constraint is not architected. See