ia64/xen-unstable

changeset 12905:6b68a3688509

[XEN] Be sure to discard old PAE l2 shadows when guest l2e becomes null.
This fixes recent PAE live migrate failures.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Tue Dec 12 16:52:13 2006 +0000 (2006-12-12)
parents aabceba1dbc5
children 05e1863cc2a3
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Mon Dec 11 11:17:11 2006 -0800
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Tue Dec 12 16:52:13 2006 +0000
     1.3 @@ -3488,6 +3488,9 @@ sh_update_cr3(struct vcpu *v)
     1.4                                         ? SH_type_l2h_shadow 
     1.5                                         : SH_type_l2_shadow);
     1.6              }
     1.7 +            else
     1.8 +                /* The guest is not present: clear out the shadow. */
     1.9 +                sh_set_toplevel_shadow(v, i, _mfn(INVALID_MFN), 0); 
    1.10          }
    1.11      }
    1.12  #elif GUEST_PAGING_LEVELS == 4