[PATCH 2/2] x86/cpu: Handle GUEST_MAXPHYADDR < HOST_MAXPHYADDR for hosts that don't support it

Jim Mattson jmattson at google.com
Thu Jul 9 17:00:59 UTC 2020

On Thu, Jul 9, 2020 at 2:44 AM Gerd Hoffmann <kraxel at redhat.com> wrote:

>     Mostly fine.  Some edge cases, like different page fault errors for
>     addresses above GUEST_MAXPHYADDR and below HOST_MAXPHYADDR.  Which I
>     think Mohammed fixed in the kernel recently.

Doesn't this require intercepting MOV-to-CR3 when the guest is in PAE
mode, so that the hypervisor can validate the high bits in the PDPTEs?

More information about the libvir-list mailing list