Re: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET

From: Paolo Bonzini
Date: Fri Mar 08 2019 - 06:32:22 EST


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