From: smh22@firebug.cl.cam.ac.uk Date: Tue, 17 Jan 2006 15:09:03 +0000 (+0100) Subject: No longer call xc_vcpu_getcontext() on restore (required after cset 8610). X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16541^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=426f6b2e81a95a8b395027c5a2c23426cdf7e838;p=xen.git No longer call xc_vcpu_getcontext() on restore (required after cset 8610). Signed-off-by: Steven Hand --- diff --git a/tools/libxc/xc_linux_restore.c b/tools/libxc/xc_linux_restore.c index c91efce4b7..7d8ebda0c7 100644 --- a/tools/libxc/xc_linux_restore.c +++ b/tools/libxc/xc_linux_restore.c @@ -170,13 +170,6 @@ int xc_linux_restore(int xc_handle, int io_fd, } - /* Only have to worry about vcpu 0 even for SMP */ - if (xc_vcpu_getcontext( xc_handle, dom, 0, &ctxt)) { - ERR("Could not get vcpu context"); - goto out; - } - - /* Read the saved P2M frame list */ if(!(p2m_frame_list = malloc(P2M_FL_SIZE))) { ERR("Couldn't allocate p2m_frame_list array");