On Fri, Sep 03, 2021, Kuppuswamy, Sathyanarayanan wrote:
What leaves are "always handled by the CPU"? VTx doesn't allow disabling
On 9/3/21 11:35 AM, Dave Hansen wrote:
On 9/3/21 10:28 AM, Kuppuswamy Sathyanarayanan wrote:It was added to give more information about CPUID leaves handling. Since
From: "Kirill A. Shutemov" <kirill.shutemov@xxxxxxxxxxxxxxx>Does this patch do any of the "handled directly" leaves? If not, why
TDX has three classes of CPUID leaves: some CPUID leaves are always
handled by the CPU, others are handled by the TDX module, and some
others are handled by the VMM. Since the VMM cannot directly intercept
the instruction these are reflected with a #VE exception to the guest,
which then converts it into a hypercall to the VMM, or handled
directly.
mention it?
it has nothing to do with this patch, I can remove it.
CPUID exiting, let alone conditionally exiting on a specific CPUID leaf. I don't
see anything in the TDX specs that suggests that's any different in SEAM non-root
mode.