[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SA1PR11MB6734049C386E936AFBC058E0A8C22@SA1PR11MB6734.namprd11.prod.outlook.com>
Date: Fri, 14 Jun 2024 00:52:48 +0000
From: "Li, Xin3" <xin3.li@...el.com>
To: Sean Christopherson <seanjc@...gle.com>, "Kang, Shan"
<shan.kang@...el.com>
CC: "kvm@...r.kernel.org" <kvm@...r.kernel.org>, "linux-doc@...r.kernel.org"
<linux-doc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-kselftest@...r.kernel.org"
<linux-kselftest@...r.kernel.org>, "corbet@....net" <corbet@....net>,
"x86@...nel.org" <x86@...nel.org>, "dave.hansen@...ux.intel.com"
<dave.hansen@...ux.intel.com>, "vkuznets@...hat.com" <vkuznets@...hat.com>,
"bp@...en8.de" <bp@...en8.de>, "mingo@...hat.com" <mingo@...hat.com>,
"tglx@...utronix.de" <tglx@...utronix.de>, "hpa@...or.com" <hpa@...or.com>,
"pbonzini@...hat.com" <pbonzini@...hat.com>, "peterz@...radead.org"
<peterz@...radead.org>, "shuah@...nel.org" <shuah@...nel.org>, "Shankar, Ravi
V" <ravi.v.shankar@...el.com>, "xin@...or.com" <xin@...or.com>
Subject: RE: [PATCH v2 00/25] Enable FRED with KVM VMX
> On Wed, Mar 27, 2024, Shan Kang wrote:
> > On Wed, 2024-02-07 at 09:26 -0800, Xin Li wrote:
> > > This patch set enables the Intel flexible return and event delivery
> > > (FRED) architecture with KVM VMX to allow guests to utilize FRED.
> > >
> > We tested this FRED KVM patch set on a 7th Intel(R) Core(TM) CPU and
> > the Intel SimicsĀ® Simulator with the following four configurations:
>
> That likely provides coverage for the happy cases, but I doubt it provides negative
> testing, e.g. for VM-Enter consistency checks. KVM-Unit-Tests are currently the
> best choice for concistency checks (unfortunately).
>
> And given the insanity of event re-injection, KVM selftests needs a dedicated test
> for that, and another for the interactions with nVMX, e.g. a la
> svm_nested_soft_inject_test.c.
>
> I haven't looked too closely at the selftest that's already provided, but my
> suspicion is that we'll want multiple tests, or alternatively one test that uses
> KVM_ONE_VCPU_TEST_SUITE().
What about posting the FRED selftests in another new patch set?
Thanks!
Xin
Powered by blists - more mailing lists