[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <r3yesty3ujmrlymhkkfhdrjdrbvl45yfvmcmyrkrrcm4sqkiiq@eb6raabphib4>
Date: Thu, 9 Oct 2025 23:13:15 +0000
From: Yosry Ahmed <yosry.ahmed@...ux.dev>
To: Jim Mattson <jmattson@...gle.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Paolo Bonzini <pbonzini@...hat.com>, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 02/12] KVM: selftests: Extend vmx_set_nested_state_test
to cover SVM
On Thu, Oct 09, 2025 at 03:40:44PM -0700, Jim Mattson wrote:
> On Wed, Oct 1, 2025 at 8:03 AM Yosry Ahmed <yosry.ahmed@...ux.dev> wrote:
> >
> > From: Yosry Ahmed <yosryahmed@...gle.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@...ux.dev>
> > ---
> > ...
> > + /* If EFER.SVME is clear, GIF must be set and guest mode is disallowed */
>
> The GIF constraint is not architected. See
> https://lore.kernel.org/kvm/20251009223153.3344555-2-jmattson@google.com/.
Yes, I didn't connect our discussion about clearing GIF when EFER.SVME
is cleared to the nested state code. I will remove the GIF assertion in
the next version.
Thanks!
Powered by blists - more mailing lists