[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86 hvm: Fix bugzilla bug 1172.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1204733625 0 # Node ID 590f8fee8dab5b7b764234534957c6032b2295af # Parent f22cadec48feec2024028b5bb7e729e5ce9d033b x86 hvm: Fix bugzilla bug 1172. Bug 1172 is caused by missing a type cast from mfn_t to paddr_t, when in pae mode and hsot memory is larger than 4G. Signed-off-by: Disheng Su <disheng.su@xxxxxxxxx> xen-unstable changeset: 17119:4f8c3a61511c97c0654bd2adad63fb846c783d0e xen-unstable date: Tue Feb 26 14:40:44 2008 +0000 --- xen/arch/x86/mm/shadow/multi.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r f22cadec48fe -r 590f8fee8dab xen/arch/x86/mm/shadow/multi.c --- a/xen/arch/x86/mm/shadow/multi.c Wed Mar 05 10:02:11 2008 +0000 +++ b/xen/arch/x86/mm/shadow/multi.c Wed Mar 05 16:13:45 2008 +0000 @@ -761,7 +761,7 @@ _sh_propagate(struct vcpu *v, sflags |= get_pat_flags(v, gflags, gfn_to_paddr(target_gfn), - mfn_x(target_mfn) << PAGE_SHIFT); + ((paddr_t)mfn_x(target_mfn)) << PAGE_SHIFT); } // Set the A&D bits for higher level shadows. _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |