lkml.org 
[lkml]   [2019]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v3 3/8] KVM:CPUID: Add CPUID support for Guest CET
From
Date
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

\
 
 \ /
  Last update: 2019-03-08 12:33    [W:0.311 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site