ia64/xen-unstable

changeset 18837:a558165cfead

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 <gianluca.guida@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Nov 27 11:21:19 2008 +0000 (2008-11-27)
parents ab0c1bdede53
children b1a38832be05
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Wed Nov 26 11:14:26 2008 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Thu Nov 27 11:21:19 2008 +0000
     1.3 @@ -2924,6 +2924,7 @@ static int sh_page_fault(struct vcpu *v,
     1.4                 writes to an out of sync page. */
     1.5              if ( mfn_valid(gmfn) && mfn_is_out_of_sync(gmfn) )
     1.6              {
     1.7 +                fast_emul = 0;
     1.8                  v->arch.paging.last_write_emul_ok = 0;
     1.9                  goto page_fault_slow_path;
    1.10              }