Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET
From: Yang Weijiang
Date: Mon Mar 11 2019 - 01:24:18 EST
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.