aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core_x86.c
diff options
context:
space:
mode:
authorTim Deegan <Tim.Deegan@xensource.com>2007-09-19 17:44:23 +0100
committerTim Deegan <Tim.Deegan@xensource.com>2007-09-19 17:44:23 +0100
commit120bafda14496fe7dcf046bb6446b79cb0e8fa80 (patch)
tree38510701848bf039a0bca1ee01901d193de2cec3 /tools/libxc/xc_core_x86.c
parent72f379b5b2a00489b5cbd10277ab4b7f7e9d0b71 (diff)
downloadxen-120bafda14496fe7dcf046bb6446b79cb0e8fa80.tar.gz
xen-120bafda14496fe7dcf046bb6446b79cb0e8fa80.tar.bz2
xen-120bafda14496fe7dcf046bb6446b79cb0e8fa80.zip
[TOOLS] Make xc_domain_{save, restore} understand compat guests
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Diffstat (limited to 'tools/libxc/xc_core_x86.c')
-rw-r--r--tools/libxc/xc_core_x86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xc_core_x86.c b/tools/libxc/xc_core_x86.c
index 4aa825b87d..fa92934ea6 100644
--- a/tools/libxc/xc_core_x86.c
+++ b/tools/libxc/xc_core_x86.c
@@ -21,6 +21,9 @@
#include "xg_private.h"
#include "xc_core.h"
+/* Don't yet support cross-address-size core dump */
+#define guest_width (sizeof (unsigned long))
+
static int nr_gpfns(int xc_handle, domid_t domid)
{
return xc_memory_op(xc_handle, XENMEM_maximum_gpfn, &domid) + 1;