No longer call xc_vcpu_getcontext() on restore (required after cset 8610).
authorsmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 17 Jan 2006 15:09:03 +0000 (16:09 +0100)
committersmh22@firebug.cl.cam.ac.uk <smh22@firebug.cl.cam.ac.uk>
Tue, 17 Jan 2006 15:09:03 +0000 (16:09 +0100)
Signed-off-by: Steven Hand <steven@xensource.com>
tools/libxc/xc_linux_restore.c

index c91efce4b71f2be4666d481ab81b0e215eacdc60..7d8ebda0c7d31e182b99aea254db5d5a0cda5409 100644 (file)
@@ -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");