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-unstable] [IA64] Fix dom0vp_expose_p2m()

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Fix dom0vp_expose_p2m()
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Jun 2007 05:56:50 -0700
Delivery-date: Sat, 16 Jun 2007 05:55:16 -0700
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1181932715 21600
# Node ID fe42519fb10eba65cf7034e105738f71010933ca
# Parent  65956e1d1aec4fa7d67ca51fa28e0a344b4778e2
[IA64] Fix dom0vp_expose_p2m()

It exposes one more zero p2m page

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 xen/arch/ia64/xen/mm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 65956e1d1aec -r fe42519fb10e xen/arch/ia64/xen/mm.c
--- a/xen/arch/ia64/xen/mm.c    Fri Jun 15 12:36:04 2007 -0600
+++ b/xen/arch/ia64/xen/mm.c    Fri Jun 15 12:38:35 2007 -0600
@@ -1551,7 +1551,7 @@ dom0vp_expose_p2m(struct domain* d,
     }
 
     // expose p2m_pte_zero_page 
-    for (i = 0; i < expose_num_pfn / PTRS_PER_PTE + 1; i++) {
+    for (i = 0; i < (expose_num_pfn + PTRS_PER_PTE - 1) / PTRS_PER_PTE; i++) {
         assign_pte = lookup_noalloc_domain_pte(d, (assign_start_gpfn + i) <<
                                                PAGE_SHIFT);
         if (assign_pte == NULL || pte_present(*assign_pte))

_______________________________________________
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] [IA64] Fix dom0vp_expose_p2m(), Xen patchbot-unstable <=