WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] No longer call xc_vcpu_getcontext() on restore (required

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] No longer call xc_vcpu_getcontext() on restore (required after cset 8610).
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Jan 2006 17:04:06 +0000
Delivery-date: Tue, 17 Jan 2006 17:11:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] No longer call xc_vcpu_getcontext() on restore (required after cset 8610)., Xen patchbot -unstable <=