# 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
|