Re: [PATCH] kvm: x86: fix RSM when PCID is non-zero
From: Paolo Bonzini
Date: Thu Dec 21 2017 - 11:54:02 EST
On 21/12/2017 17:37, Christopherson, Sean J wrote:
>> Out of curiosity, has anyone ever tested RSM returning to PAE mode? I
>> *think* it's supposed to restore the PDPTR registers directly rather
>> than reloading them from the memory pointed to by CR3, and it doesn't
>> look like the new or old code does it.
> Yes, PDPTRs are saved/loaded to/from SMRAM, at least on Intel hardware.
KVM follows the AMD manual, since it's got a more complete description
of SMRAM, and it doesn't show the PDPTRs (nor any reserved area large
enough to hold them).
Thanks,
Paolo