[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZbI6BCTG5wDYz2ut@chao-email>
Date: Thu, 25 Jan 2024 18:37:56 +0800
From: Chao Gao <chao.gao@...el.com>
To: Yang Weijiang <weijiang.yang@...el.com>
CC: <seanjc@...gle.com>, <pbonzini@...hat.com>, <dave.hansen@...el.com>,
<kvm@...r.kernel.org>, <linux-kernel@...r.kernel.org>, <x86@...nel.org>,
<yuan.yao@...ux.intel.com>, <peterz@...radead.org>,
<rick.p.edgecombe@...el.com>, <mlevitsk@...hat.com>, <john.allen@....com>
Subject: Re: [PATCH v9 12/27] KVM: x86: Report XSS as to-be-saved if there
are supported features
On Tue, Jan 23, 2024 at 06:41:45PM -0800, Yang Weijiang wrote:
>From: Sean Christopherson <seanjc@...gle.com>
>
>Add MSR_IA32_XSS to list of MSRs reported to userspace if supported_xss
>is non-zero, i.e. KVM supports at least one XSS based feature.
>
>Before enabling CET virtualization series, guest IA32_MSR_XSS is
>guaranteed to be 0, i.e., XSAVES/XRSTORS is executed in non-root mode
>with XSS == 0, which equals to the effect of XSAVE/XRSTOR.
>
>Signed-off-by: Sean Christopherson <seanjc@...gle.com>
>Signed-off-by: Yang Weijiang <weijiang.yang@...el.com>
>Reviewed-by: Maxim Levitsky <mlevitsk@...hat.com>
Reviewed-by: Chao Gao <chao.gao@...el.com>
Powered by blists - more mailing lists