mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
2f73ee2697
commit
89fcb252a1
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||