[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] No longer call xc_vcpu_getcontext() on restore (required after cset 8610).



# HG changeset patch
# User smh22@xxxxxxxxxxxxxxxxxxxx
# Node ID 8d6edcf06f9b21cd7db68bdeb40c13ac3de60c12
# Parent  e745c2e4acc02130dff3d929a82789f1ee78a6d2
No longer call xc_vcpu_getcontext() on restore (required after cset 8610). 

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>

diff -r e745c2e4acc0 -r 8d6edcf06f9b tools/libxc/xc_linux_restore.c
--- a/tools/libxc/xc_linux_restore.c    Tue Jan 17 15:06:03 2006
+++ b/tools/libxc/xc_linux_restore.c    Tue Jan 17 15:09:03 2006
@@ -170,13 +170,6 @@
     }
 
 
-    /* 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");

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.