aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_resume.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_resume.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_resume.c')
-rw-r--r--tools/libxc/xc_resume.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/libxc/xc_resume.c b/tools/libxc/xc_resume.c
index 8e509b6fe3..3fb6d13adc 100644
--- a/tools/libxc/xc_resume.c
+++ b/tools/libxc/xc_resume.c
@@ -46,7 +46,7 @@ static int xc_domain_resume_any(int xc_handle, uint32_t domid)
xc_dominfo_t info;
int i, rc = -1;
#if defined(__i386__) || defined(__x86_64__)
- unsigned long mfn, max_pfn = 0;
+ unsigned long mfn, p2m_size = 0;
vcpu_guest_context_t ctxt;
start_info_t *start_info;
shared_info_t *shinfo = NULL;
@@ -74,7 +74,7 @@ static int xc_domain_resume_any(int xc_handle, uint32_t domid)
goto out;
}
- max_pfn = shinfo->arch.max_pfn;
+ p2m_size = shinfo->arch.max_pfn;
p2m_frame_list_list =
xc_map_foreign_range(xc_handle, domid, PAGE_SIZE, PROT_READ,