Skip to contentSkip to conversation

shadow mode cleanup

PATCH New Gerd Knorr 1 participant 1 message Oct 21, 2005

lore
Share & tools
lore

Gerd Knorr

author
#0 lore raw

PATCH 1/1 shadow mode cleanup

Hi,

Just a minor cleanup in the shadow mode setup code.
PAE shadow mode now actually dies in a "not-implemented-yet" BUG() instead of trapping into a null pointer dereference before that ;)

please apply,

Gerd

xen/arch/x86/shadow.c +1 -2
diff -r 7c951e3eb5ab xen/arch/x86/shadow.c
@@ -3259,7 +3259,7 @@
 
 #elif CONFIG_PAGING_LEVELS == 3
 struct shadow_ops MODE_B_HANDLER = {
-    .guest_paging_levels              = 3,
+    .guest_paging_levels        = 3,
     .invlpg                     = shadow_invlpg_32,
     .fault                      = shadow_fault_32,
     .update_pagetables          = shadow_update_pagetables,
@@ -3270,7 +3270,6 @@
     .is_out_of_sync             = is_out_of_sync,
     .gva_to_gpa                 = gva_to_gpa_pae,
 };
-
 #endif
 
 
xen/arch/x86/shadow_public.c +32 -16

77 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel