* [PATCH] set fast_emul to zero when emulating to an out-of-sync page.
@ 2008-11-26 17:08 Gianluca Guida
0 siblings, 0 replies; only message in thread
From: Gianluca Guida @ 2008-11-26 17:08 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
Hello,
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>
[-- Attachment #2: fast_emul.patch --]
[-- Type: text/x-patch, Size: 527 bytes --]
diff -r ab0c1bdede53 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 Wed Nov 26 17:04:37 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;
}
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-26 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-26 17:08 [PATCH] set fast_emul to zero when emulating to an out-of-sync page Gianluca Guida
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.