On Wed, Jul 8, 2020 at 3:51 PM Krish Sadhukhan <krish.sadhukhan@xxxxxxxxxx> wrote: > Just curious about using LME instead of LMA. According to APM, > > " The processor behaves as a 32-bit x86 processor in all respects > until long mode is activated, even if long mode is enabled. None of the > new 64-bit data sizes, addressing, or system aspects available in long > mode can be used until EFER.LMA=1." > > > Is it possible that L1 sets LME, but not LMA, in L2's VMCS and this > code will execute even if the processor is not in long-mode ? No. EFER.LMA is not modifiable through software. It is always "EFER.LME != 0 && CR0.PG != 0."