From: Keir Fraser Date: Thu, 27 Nov 2008 11:21:19 +0000 (+0000) Subject: shadow: set fast_emul to zero when emulating to an out-of-sync page. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14040^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=89fcb252a13f428994f6bbcf2c358a7bae90f748;p=xen.git 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 --git a/xen/arch/x86/mm/shadow/multi.c b/xen/arch/x86/mm/shadow/multi.c index 2f2e3bf29d..da74d41d84 100644 --- a/xen/arch/x86/mm/shadow/multi.c +++ b/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; }