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-devel

[Xen-devel] [PATCH] Re: [Xen-staging] [xen-unstable] Implement clean ret

To: Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Re: [Xen-staging] [xen-unstable] Implement clean return from save/restore failure (so that original
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Wed, 24 Jan 2007 08:41:36 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, andrei.petrov@xxxxxxxxxxxxx
Delivery-date: Wed, 24 Jan 2007 07:42:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1DCE310.8213%keir@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <C1DCE310.8213%keir@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>