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] Domain save fix for foreign domain

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Domain save fix for foreign domain page mapping semantics change
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 09 Dec 2006 15:45:19 +0000
Delivery-date: Sat, 09 Dec 2006 07:48:28 -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 awilliam@xxxxxxxxxxxx
# Node ID 566e0e95cf00cd56773fe710336c07608933503b
# Parent  178e46776c710e337e5a21415cef07391f73e730
[IA64] Domain save fix for foreign domain page mapping semantics change

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/libxc/ia64/xc_ia64_linux_save.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 178e46776c71 -r 566e0e95cf00 tools/libxc/ia64/xc_ia64_linux_save.c
--- a/tools/libxc/ia64/xc_ia64_linux_save.c     Thu Dec 07 14:53:47 2006 -0700
+++ b/tools/libxc/ia64/xc_ia64_linux_save.c     Thu Dec 07 14:56:01 2006 -0700
@@ -347,13 +347,13 @@ xc_linux_save(int xc_handle, int io_fd, 
                         page_array[N], N, max_pfn);
 
             mem = xc_map_foreign_range(xc_handle, dom, PAGE_SIZE,
-                                       PROT_READ|PROT_WRITE, page_array[N]);
+                                       PROT_READ|PROT_WRITE, N);
             if (mem == NULL) {
                 /* The page may have move.
                    It will be remarked dirty.
                    FIXME: to be tracked.  */
-                fprintf(stderr, "cannot map page %lx: %s\n",
-                        page_array[N], safe_strerror(errno));
+                fprintf(stderr, "cannot map mfn page %lx gpfn %lx: %s\n",
+                        page_array[N], N, safe_strerror(errno));
                 continue;
             }
 

_______________________________________________
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] Domain save fix for foreign domain page mapping semantics change, Xen patchbot-unstable <=