[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4f548084-3739-b0b0-8a18-1384393fbfe1@intel.com>
Date: Mon, 22 May 2023 17:39:41 +0800
From: "Liu, Jingqi" <jingqi.liu@...el.com>
To: Chao Gao <chao.gao@...el.com>, <kvm@...r.kernel.org>
CC: Jiaan Lu <jiaan.lu@...el.com>, Paolo Bonzini <pbonzini@...hat.com>,
"Shuah Khan" <shuah@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
"Borislav Petkov" <bp@...e.de>,
Pawan Gupta <pawan.kumar.gupta@...ux.intel.com>,
"Zhang Chen" <chen.zhang@...el.com>,
Daniel Sneddon <daniel.sneddon@...ux.intel.com>,
<linux-kernel@...r.kernel.org>, <linux-kselftest@...r.kernel.org>
Subject: Re: [RFC PATCH v2 10/11] KVM: selftests: Add tests for virtual
enumeration/mitigation MSRs
On 4/14/2023 2:25 PM, Chao Gao wrote:
> Three virtual MSRs added for guest to report the usage of software
Seems it's better like below.
s/Three virtual MSRs added/Add three virtual MSRs ?
> mitigations. They are enumerated in an architectural way. Try to
> access the three MSRs to ensure the behavior is expected:
> Specifically,
>
> 1. below three cases should cause #GP:
> * access to a non-present MSR
> * write to read-only MSRs
> * toggling reserved bit of a writeable MSR
>
> 2. rdmsr/wrmsr in other cases should succeed
>
> 3. rdmsr should return the value last written
>
> Signed-off-by: Chao Gao <chao.gao@...el.com>
> ---
Thanks,
Jingqi
Powered by blists - more mailing lists