Re: [PATCH v12 00/10] Introduce support for guest CET feature

From: Yang Weijiang
Date: Wed Jun 10 2020 - 21:28:51 EST


On Wed, Jun 10, 2020 at 09:56:36AM -0700, Sean Christopherson wrote:
> On Wed, May 06, 2020 at 04:20:59PM +0800, Yang Weijiang wrote:
> > Several parts in KVM have been updated to provide VM CET support, including:
> > CPUID/XSAVES config, MSR pass-through, user space MSR access interface,
> > vmentry/vmexit config, nested VM etc. These patches have dependency on CET
> > kernel patches for xsaves support and CET definitions, e.g., MSR and related
> > feature flags.
>
> Other than the MSR and cpufeatures flags definitions, is there any direct
> dependency on kernel CET support? I.e. if/when XSAVES support is merged,
> is there anything beyond the architectural definitions that are required to
> merge KVM CET virtualization?
No, KVM CET patches only depend on kernel CET related definitions and XSAVES
support now. But to make guest CET work, we need CET patches for QEMU.