[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] coredump: Allow mmap of shinfo to fail for any HVM guest (x86 or ia64).
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Date 1174323321 0 # Node ID 4e380c76977476b36d92dddd388e9091f0410e38 # Parent 36e6f85cd57232ce5c881cae75e2c178cb26bbe4 coredump: Allow mmap of shinfo to fail for any HVM guest (x86 or ia64). Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> --- tools/libxc/xc_core.c | 6 +----- 1 files changed, 1 insertion(+), 5 deletions(-) diff -r 36e6f85cd572 -r 4e380c769774 tools/libxc/xc_core.c --- a/tools/libxc/xc_core.c Mon Mar 19 16:48:24 2007 +0000 +++ b/tools/libxc/xc_core.c Mon Mar 19 16:55:21 2007 +0000 @@ -349,11 +349,7 @@ xc_domain_dumpcore_via_callback(int xc_h /* Map the shared info frame */ live_shinfo = xc_map_foreign_range(xc_handle, domid, PAGE_SIZE, PROT_READ, info.shared_info_frame); - if ( !live_shinfo -#ifdef __ia64__ - && !info.hvm -#endif - ) + if ( !live_shinfo && !info.hvm ) { PERROR("Couldn't map live_shinfo"); goto out; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |