[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Be sure to discard old PAE l2 shadows when guest l2e becomes null.



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Node ID 6b68a3688509dc46bbcb28dc4382ea2c298fba81
# Parent  aabceba1dbc51de5eda57e066f8cdc662ed57e9b
[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@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    3 +++
 1 files changed, 3 insertions(+)

diff -r aabceba1dbc5 -r 6b68a3688509 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Mon Dec 11 11:17:11 2006 -0800
+++ b/xen/arch/x86/mm/shadow/multi.c    Tue Dec 12 16:52:13 2006 +0000
@@ -3488,6 +3488,9 @@ sh_update_cr3(struct vcpu *v)
                                        ? SH_type_l2h_shadow 
                                        : SH_type_l2_shadow);
             }
+            else
+                /* The guest is not present: clear out the shadow. */
+                sh_set_toplevel_shadow(v, i, _mfn(INVALID_MFN), 0); 
         }
     }
 #elif GUEST_PAGING_LEVELS == 4

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.