On Tue, Aug 11, 2020 at 6:34 PM Alex Williamson <alex.williamson@xxxxxxxxxx> wrote: > > On Tue, 7 Jul 2020 15:36:30 -0700 > Jim Mattson <jmattson@xxxxxxxxxx> wrote: > > > According to the SDM, when PAE paging would be in use following a > > MOV-to-CR0 that modifies any of CR0.CD, CR0.NW, or CR0.PG, then the > > PDPTEs are loaded from the address in CR3. Previously, kvm only loaded > > the PDPTEs when PAE paging would be in use following a MOV-to-CR0 that > > modified CR0.PG. > > > > Signed-off-by: Jim Mattson <jmattson@xxxxxxxxxx> > > Reviewed-by: Oliver Upton <oupton@xxxxxxxxxx> > > Reviewed-by: Peter Shier <pshier@xxxxxxxxxx> > > --- > > I can't even boot the simplest edk2 VM with this commit: You'll probably want to apply Sean's [PATCH] KVM: x86: Don't attempt to load PDPTRs when 64-bit mode is enabled.