Re: [PATCH v3 1/1] x86/tdx: Handle MWAIT, MONITOR and WBINVD

From: Andi Kleen
Date: Mon Mar 29 2021 - 22:05:00 EST


> > No, if these instructions take a #VE then they were executed at CPL=0. MONITOR
> > and MWAIT will #UD without VM-Exit->#VE. Same for WBINVD, s/#UD/#GP.
>
> Dare I ask about XSETBV?

XGETBV does not cause a #VE, it just works normally. The guest has full
AVX capabilities.

-Andi