Skip to contentSkip to conversation

set fast_emul to zero when emulating to an out-of-sync page.

PATCH New Gianluca Guida 1 participant 1 message Nov 26, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 set fast_emul to zero when emulating to an out-of-sync page.

Hello,

a small missing thing on the original out of sync patch. No real bug, but it's better to correctly specify the path.

xen/arch/x86/mm/shadow/multi.c +1 -0
diff -r ab0c1bdede53 xen/arch/x86/mm/shadow/multi.c
@@ -2924,6 +2924,7 @@ static int sh_page_fault(struct vcpu *v,
                writes to an out of sync page. */
             if ( mfn_valid(gmfn) && mfn_is_out_of_sync(gmfn) )
             {
+                fast_emul = 0;
                 v->arch.paging.last_write_emul_ok = 0;
                 goto page_fault_slow_path;
             }

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