aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_core.c
diff options
context:
space:
mode:
authorSteven Hand <steven@xensource.com>2007-04-02 16:46:52 +0100
committerSteven Hand <steven@xensource.com>2007-04-02 16:46:52 +0100
commite2a44bc7a4f19cebdb17a5153cc443f420d9fe5d (patch)
tree33936b3b4898a35c5390e544b6f65f72f8618e18 /tools/libxc/xc_core.c
parent970ce2580bd1403a8c3ac5ed8cf7055ca1e6b20f (diff)
downloadxen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.tar.gz
xen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.tar.bz2
xen-e2a44bc7a4f19cebdb17a5153cc443f420d9fe5d.zip
Some save/restore cleanups.
Signed-off-by: Steven Hand <steven@xensource.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
-rw-r--r--tools/libxc/xc_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_core.c b/tools/libxc/xc_core.c
index 3c1ff185a6..d755aa8238 100644
--- a/tools/libxc/xc_core.c
+++ b/tools/libxc/xc_core.c
@@ -312,7 +312,7 @@ xc_domain_dumpcore_via_callback(int xc_handle,
int auto_translated_physmap;
xen_pfn_t *p2m = NULL;
- unsigned long max_pfn = 0;
+ unsigned long p2m_size = 0;
struct xen_dumpcore_p2m *p2m_array = NULL;
uint64_t *pfn_array = NULL;
@@ -396,7 +396,7 @@ xc_domain_dumpcore_via_callback(int xc_handle,
}
sts = xc_core_arch_map_p2m(xc_handle, &info, live_shinfo,
- &p2m, &max_pfn);
+ &p2m, &p2m_size);
if ( sts != 0 )
goto out;
}