[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86 shadow: Fix cross-page write emulation failure.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1201864887 0 # Node ID 3787e70b2ab219de50dff7417917fd9f9ccfcc35 # Parent 396ab902b02daf14deed0f3261c1c179b7378b4d x86 shadow: Fix cross-page write emulation failure. Signed-off-by: Disheng Su <disheng.su@xxxxxxxxx> --- xen/arch/x86/mm/shadow/multi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 396ab902b02d -r 3787e70b2ab2 xen/arch/x86/mm/shadow/multi.c --- a/xen/arch/x86/mm/shadow/multi.c Fri Feb 01 11:18:15 2008 +0000 +++ b/xen/arch/x86/mm/shadow/multi.c Fri Feb 01 11:21:27 2008 +0000 @@ -4076,7 +4076,7 @@ static void *emulate_map_dest(struct vcp sh_ctxt->mfn2 = emulate_gva_to_mfn(v, (vaddr + bytes - 1) & PAGE_MASK, sh_ctxt); if ( !mfn_valid(sh_ctxt->mfn2) ) - return ((mfn_x(sh_ctxt->mfn1) == BAD_GVA_TO_GFN) ? + return ((mfn_x(sh_ctxt->mfn2) == BAD_GVA_TO_GFN) ? MAPPING_EXCEPTION : MAPPING_UNHANDLEABLE); /* Cross-page writes mean probably not a pagetable */ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |