Re: [PATCH] kvm: x86: Read PDPTEs on CR0.CD and CR0.NW changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 11 Aug 2020 19:45:17 -0700
Jim Mattson <jmattson@xxxxxxxxxx> wrote:

> 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.

Thanks for the pointer, yes, that resolves it.  Thanks,

Alex




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux