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] Fix xm restore broken by missing return statement.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix xm restore broken by missing return statement.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Oct 2005 15:02:11 +0000
Delivery-date: Tue, 04 Oct 2005 14:59:40 +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 emellor@ewan
# Node ID b4c388a004c0753f5138f957388cf6ce53cdfc12
# Parent  540d17fe32cedf404f3b2b4922797a814b5f3816
Fix xm restore broken by missing return statement.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 540d17fe32ce -r b4c388a004c0 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py       Tue Oct  4 14:34:02 2005
+++ b/tools/python/xen/xend/XendDomain.py       Tue Oct  4 14:57:12 2005
@@ -248,7 +248,7 @@
         """Restore a domain from the given file descriptor."""
 
         try:
-            XendCheckpoint.restore(self, fd)
+            return XendCheckpoint.restore(self, fd)
         except Exception, ex:
             log.exception("Restore failed")
             raise

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix xm restore broken by missing return statement., Xen patchbot -unstable <=