shadow: set fast_emul to zero when emulating to an out-of-sync page.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 27 Nov 2008 11:21:19 +0000 (11:21 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 27 Nov 2008 11:21:19 +0000 (11:21 +0000)
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>
xen/arch/x86/mm/shadow/multi.c

index 2f2e3bf29d67f38221471a800a1c90afbc27a39d..da74d41d844104535d89cbe070a825e7f51d5ea0 100644 (file)
@@ -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;
             }