diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-19 16:55:21 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-03-19 16:55:21 +0000 |
commit | 49a55b0fb3319c7374ec5846f3f2e1fd2da46c16 (patch) | |
tree | e85ec449440a8c13e29c034a3fc7ef389051fe49 /tools/libxc/xc_core.c | |
parent | 28f7888d7fc4aa75135ac1c566566eda1704db65 (diff) | |
download | xen-49a55b0fb3319c7374ec5846f3f2e1fd2da46c16.tar.gz xen-49a55b0fb3319c7374ec5846f3f2e1fd2da46c16.tar.bz2 xen-49a55b0fb3319c7374ec5846f3f2e1fd2da46c16.zip |
coredump: Allow mmap of shinfo to fail for any HVM guest (x86 or ia64).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
-rw-r--r-- | tools/libxc/xc_core.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/libxc/xc_core.c b/tools/libxc/xc_core.c index 3dcf51e131..3c1ff185a6 100644 --- a/tools/libxc/xc_core.c +++ b/tools/libxc/xc_core.c @@ -349,11 +349,7 @@ xc_domain_dumpcore_via_callback(int xc_handle, /* 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; |