debuggers.hg
changeset 22750:ca590ccc7a0b
xenpaging: update machine_to_phys_mapping[] during page-in
Update the machine_to_phys_mapping[] array during page-in. The gfn is
now at a different page and the array has still INVALID_M2P_ENTRY in
the index.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Update the machine_to_phys_mapping[] array during page-in. The gfn is
now at a different page and the array has still INVALID_M2P_ENTRY in
the index.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
author | Keir Fraser <keir@xen.org> |
---|---|
date | Tue Jan 11 10:37:45 2011 +0000 (2011-01-11) |
parents | 611e46390bf6 |
children | c5b42971234a |
files | xen/arch/x86/mm/p2m.c |
line diff
1.1 --- a/xen/arch/x86/mm/p2m.c Tue Jan 11 10:33:20 2011 +0000 1.2 +++ b/xen/arch/x86/mm/p2m.c Tue Jan 11 10:37:45 2011 +0000 1.3 @@ -2850,6 +2850,7 @@ void p2m_mem_paging_resume(struct p2m_do 1.4 mfn = gfn_to_mfn(p2m, rsp.gfn, &p2mt); 1.5 p2m_lock(p2m); 1.6 set_p2m_entry(p2m, rsp.gfn, mfn, 0, p2m_ram_rw, p2m->default_access); 1.7 + set_gpfn_from_mfn(mfn_x(mfn), gfn); 1.8 audit_p2m(p2m, 1); 1.9 p2m_unlock(p2m); 1.10