[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ia64: Fix xc_save error reporting
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1276866537 -3600 # Node ID 3fdd864a79d32a765b389521d1f367e0424208fe # Parent 8e3658934612b4f1fc2a5ea14ae43bebc5f61815 ia64: Fix xc_save error reporting This is the patch for error reporting on ia64 that has a special handling in comparison with i386/x86_64 platforms. This is pretty straight-forward just to fail on "cannot map mfn page" message instead of continue since the memory is not being correctly mapped using the xc_map_foreign_range() function. From: Michal Novotny <minovotn@xxxxxxxxxx> Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- tools/libxc/ia64/xc_ia64_linux_save.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 8e3658934612 -r 3fdd864a79d3 tools/libxc/ia64/xc_ia64_linux_save.c --- a/tools/libxc/ia64/xc_ia64_linux_save.c Fri Jun 18 14:07:42 2010 +0100 +++ b/tools/libxc/ia64/xc_ia64_linux_save.c Fri Jun 18 14:08:57 2010 +0100 @@ -647,7 +647,7 @@ xc_domain_save(xc_interface *xc_handle, fprintf(stderr, "cannot map mfn page %lx gpfn %lx: %s\n", xc_ia64_p2m_mfn(&p2m_table, N), N, safe_strerror(errno)); - continue; + goto out; } if (write_exact(io_fd, &N, sizeof(N))) { _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |