xen-devel
[Xen-devel] Re: [PATCH] Fix save.py bug
To: |
"Liu, Jinsong" <jinsong.liu@xxxxxxxxx> |
Subject: |
[Xen-devel] Re: [PATCH] Fix save.py bug |
From: |
Shriram Rajagopalan <rshriram@xxxxxxxxx> |
Date: |
Wed, 18 May 2011 09:00:11 -0400 |
Cc: |
"Li, Xin" <xin.li@xxxxxxxxx>, Keir Fraser <keir.xen@xxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx> |
Delivery-date: |
Wed, 18 May 2011 06:02:48 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<BC00F5384FCFC9499AF06F92E8B78A9E208381D9DC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<BC00F5384FCFC9499AF06F92E8B78A9E208381D9DC@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
Reply-to: |
rshriram@xxxxxxxxx |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Wed, May 18, 2011 at 4:30 AM, Liu, Jinsong <jinsong.liu@xxxxxxxxx> wrote:
Resend it, it has been acked by Ian and Shriram, but seems to be ignored and didn't in unstable tree :)
Thanks,
Jinsong
================
Fix save.py bug
Fix save.py bug, to avoid compiling error under python2.4
Signed-off-by: Liu, Jinsong <jinsong.liu@xxxxxxxxx>
Acked-by: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Acked-by: Shriram Rajagopalan <rshriram@xxxxxxxxx>
diff -r f9bb0bbea7c2 tools/python/xen/remus/save.py
--- a/tools/python/xen/remus/save.py Thu May 12 16:42:54 2011 +0100
+++ b/tools/python/xen/remus/save.py Fri May 13 22:45:21 2011 +0800
@@ -161,11 +161,12 @@ class Saver(object):
self.checkpointer = xen.lowlevel.checkpoint.checkpointer()
try:
- self.checkpointer.open(self.vm.domid)
- self.checkpointer.start(self.fd, self.suspendcb, self.resumecb,
- self.checkpointcb, self.interval)
- except xen.lowlevel.checkpoint.error, e:
- raise CheckpointError(e)
+ try:
+ self.checkpointer.open(self.vm.domid)
+ self.checkpointer.start(self.fd, self.suspendcb, self.resumecb,
+ self.checkpointcb, self.interval)
+ except xen.lowlevel.checkpoint.error, e:
+ raise CheckpointError(e)
finally:
try: #errors in checkpoint close are not critical atm.
self.checkpointer.close() From my experience it takes couple of days for the patches to appear in the unstable tree, after they have been sent to the mailing list. No point resending it. :)
shriram
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|