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

[Xen-devel] [PATCH] Re: [Xen-staging] [xen-unstable] Implement clean return from save/restore failure (so that original



On Wed, 2007-01-24 at 10:18 +0000, Keir Fraser wrote:
> 
> 
> On 23/1/07 22:16, "Alex Williamson" <alex.williamson@xxxxxx> wrote:
> 
> >> +    /* Reset all secondary CPU states. */
> >> +    for ( i = 1; i <= info.max_vcpu_id; i++ )
> >                          ^^^^
> > 
> > info isn't defined here on non-x86.  Thanks,
> 
> Oops, fixed.

   Thanks, but it's not quite fixed.  The "out" label isn't defined for
non-x86.  This patch fixes it.  Thanks,

        Alex

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---

diff -r 259470f0856b tools/libxc/xc_resume.c
--- a/tools/libxc/xc_resume.c   Wed Jan 24 14:36:03 2007 +0000
+++ b/tools/libxc/xc_resume.c   Wed Jan 24 08:38:20 2007 -0700
@@ -58,7 +58,7 @@ static int xc_domain_resume_any(int xc_h
     if ( xc_domain_getinfo(xc_handle, domid, 1, &info) != 1 )
     {
         PERROR("Could not get domain info");
-        goto out;
+        return rc;
     }
 
     /*



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


 


Rackspace

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