diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2010-10-22 15:14:51 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2010-10-22 15:14:51 +0100 |
commit | 79647c5bc9c62feeed8a1e50e7c73001ae10b23d (patch) | |
tree | a3132a6db9d4cea23c2936efd23e4078057d6341 /tools/libxc/xc_resume.c | |
parent | 70d20aed9a6406842d3d957583fbe15c60fd84ec (diff) | |
download | xen-79647c5bc9c62feeed8a1e50e7c73001ae10b23d.tar.gz xen-79647c5bc9c62feeed8a1e50e7c73001ae10b23d.tar.bz2 xen-79647c5bc9c62feeed8a1e50e7c73001ae10b23d.zip |
libxc: convert domctl interfaces over to hypercall buffers
(defer save/restore and shadow related interfaces til a later patch)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson.citrix.com>
Diffstat (limited to 'tools/libxc/xc_resume.c')
-rw-r--r-- | tools/libxc/xc_resume.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/libxc/xc_resume.c b/tools/libxc/xc_resume.c index 3c2c988fdd..1c43ec612d 100644 --- a/tools/libxc/xc_resume.c +++ b/tools/libxc/xc_resume.c @@ -196,12 +196,6 @@ static int xc_domain_resume_any(xc_interface *xch, uint32_t domid) goto out; } - if ( lock_pages(xch, &ctxt, sizeof(ctxt)) ) - { - ERROR("Unable to lock ctxt"); - goto out; - } - if ( xc_vcpu_getcontext(xch, domid, 0, &ctxt) ) { ERROR("Could not get vcpu context"); @@ -235,7 +229,6 @@ static int xc_domain_resume_any(xc_interface *xch, uint32_t domid) #if defined(__i386__) || defined(__x86_64__) out: - unlock_pages(xch, (void *)&ctxt, sizeof ctxt); if (p2m) munmap(p2m, P2M_FL_ENTRIES*PAGE_SIZE); if (p2m_frame_list) |