xen-devel
[Xen-devel] RE: [PATCH] Fix save.py bug
To: |
"rshriram@xxxxxxxxx" <rshriram@xxxxxxxxx> |
Subject: |
[Xen-devel] RE: [PATCH] Fix save.py bug |
From: |
"Liu, Jinsong" <jinsong.liu@xxxxxxxxx> |
Date: |
Thu, 19 May 2011 20:05:15 +0800 |
Accept-language: |
en-US |
Acceptlanguage: |
en-US |
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: |
Thu, 19 May 2011 05:07:15 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<BANLkTikbNN9ZX5Q1ZcWBHBsQ+wGx21FSFA@xxxxxxxxxxxxxx> |
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> <BANLkTikbNN9ZX5Q1ZcWBHBsQ+wGx21FSFA@xxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Thread-index: |
AcwVW6Pj13qNIVcQTfChm70mLhkptwAwUcNQ |
Thread-topic: |
[PATCH] Fix save.py bug |
Thanks for reminding :)
Jinsong
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
|
|
|