WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] x86 hvm: Fix bugzilla bug 1172.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86 hvm: Fix bugzilla bug 1172.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 06 Mar 2008 00:30:44 -0800
Delivery-date: Thu, 06 Mar 2008 00:30:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86 hvm: Fix bugzilla bug 1172., Xen patchbot-3.2-testing <=