[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190310121816.GA24065@local-michael-cet-test.sh.intel.com>
Date: Sun, 10 Mar 2019 20:18:16 +0800
From: Yang Weijiang <weijiang.yang@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: rkrcmar@...hat.com, sean.j.christopherson@...el.com,
jmattson@...gle.com, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org, mst@...hat.com, yu-cheng.yu@...el.com,
Zhang Yi Z <yi.z.zhang@...ux.intel.com>,
weijiang.yang@...el.com
Subject: Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET
On Fri, Mar 08, 2019 at 12:32:12PM +0100, Paolo Bonzini wrote:
> On 25/02/19 14:27, Yang Weijiang wrote:
> > + compacted = entry[i].eax &
> > + (F(XSAVES) | F(XSAVEC));
> > + entry[i].ebx = xstate_required_size(supported,
> > + compacted);
>
> If XSAVES and XSAVEC are both false, just set ebx to 0 as it was before
> this patch.
>
> Paolo
Thanks Paulo, it makes sense to do so, will change it in next version.
Powered by blists - more mailing lists