[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Fix save.py bug
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() Attachment:
fix-save-py-new.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |