|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86 hvm: Fix bugzilla bug 1172.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204036844 0
# Node ID 4f8c3a61511c97c0654bd2adad63fb846c783d0e
# Parent 3278024fa4ea69642a72701ec8744179e54c3293
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/arch/x86/mm/shadow/multi.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 3278024fa4ea -r 4f8c3a61511c xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c Tue Feb 26 14:39:26 2008 +0000
+++ b/xen/arch/x86/mm/shadow/multi.c Tue Feb 26 14:40:44 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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86 hvm: Fix bugzilla bug 1172.,
Xen patchbot-unstable <=
|
|
|
|
|