aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-01-15 12:37:42 +0000
committerKeir Fraser <keir.fraser@citrix.com>2009-01-15 12:37:42 +0000
commit3967bb3aff365793c04013fb2e29d7d79b44c5d3 (patch)
treef83174db75f446c8123fe805eb68f559cc50bfd5 /tools/libxc/xc_core.h
parent523540cc9bc3c4c982fd2c5b9d65a96b2c210a36 (diff)
downloadxen-3967bb3aff365793c04013fb2e29d7d79b44c5d3.tar.gz
xen-3967bb3aff365793c04013fb2e29d7d79b44c5d3.tar.bz2
xen-3967bb3aff365793c04013fb2e29d7d79b44c5d3.zip
libxc: Support cross-bitness guest when core-dumping
This patch allows core-dumping to work on a cross-bit host/guest configuration, whereas previously that was not supported. It supports both PV and FV guests. The core file format generated by the host, needs to match that of the guest, so an alignment issue is addressed, along with the p2m frame list handling being done according to the guest size. Signed-off-by: Bruce Rogers <brogers@novell.com>
Diffstat (limited to 'tools/libxc/xc_core.h')
-rw-r--r--tools/libxc/xc_core.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/libxc/xc_core.h b/tools/libxc/xc_core.h
index 30100ba416..d148732f13 100644
--- a/tools/libxc/xc_core.h
+++ b/tools/libxc/xc_core.h
@@ -136,12 +136,12 @@ int xc_core_arch_auto_translated_physmap(const xc_dominfo_t *info);
struct xc_core_arch_context;
int xc_core_arch_memory_map_get(int xc_handle,
struct xc_core_arch_context *arch_ctxt,
- xc_dominfo_t *info, shared_info_t *live_shinfo,
+ xc_dominfo_t *info, shared_info_any_t *live_shinfo,
xc_core_memory_map_t **mapp,
unsigned int *nr_entries);
-int xc_core_arch_map_p2m(int xc_handle, xc_dominfo_t *info,
- shared_info_t *live_shinfo, xen_pfn_t **live_p2m,
- unsigned long *pfnp);
+int xc_core_arch_map_p2m(int xc_handle, unsigned int guest_width,
+ xc_dominfo_t *info, shared_info_any_t *live_shinfo,
+ xen_pfn_t **live_p2m, unsigned long *pfnp);
#if defined (__i386__) || defined (__x86_64__)