# HG changeset patch # User Keir Fraser # Date 1227784879 0 # Node ID a558165cfeada594c10598840d2d0ffd743efc21 # Parent ab0c1bdede53f3f839524c1884236b3765f231cc shadow: set fast_emul to zero when emulating to an out-of-sync page. A small missing thing on the original out of sync patch. No real bug, but it's better to correctly specify the path. Signed-off-by: Gianluca Guida diff -r ab0c1bdede53 -r a558165cfead xen/arch/x86/mm/shadow/multi.c --- a/xen/arch/x86/mm/shadow/multi.c Wed Nov 26 11:14:26 2008 +0000 +++ b/xen/arch/x86/mm/shadow/multi.c Thu Nov 27 11:21:19 2008 +0000 @@ -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; }