]> xenbits.xensource.com Git - people/vhanquez/xen.git/commit
x86/mm: Fix two PAE+paging bugs
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 16 Feb 2012 15:43:02 +0000 (15:43 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 16 Feb 2012 15:43:02 +0000 (15:43 +0000)
commit351f708b6faeca8dceb1c6ceb1377ee64c9dda6c
tree5fc9c09084df377eb85d2c481f620ea2dabb619b
parent248566396985b2171aae12469c210a46e3709548
x86/mm: Fix two PAE+paging bugs

In hap_paging_update_modes, we were getting the gpa of the cr3, rather
than the gfn.

Vmx_load_pdptrs was crashing the host if the cr3 is paged out. Now it
will only crash the guest.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Signed-off-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/mm/hap/hap.c