[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] remus: fix incorrect error handling for switch_qemu_logdirty in checkpoint code
# HG changeset patch # User Shriram Rajagopalan <rshriram@xxxxxxxxx> # Date 1302611331 -3600 # Node ID 67911039ac94e4a67afd1502db19933c9659f978 # Parent e288952081a43991b4b8f4405e033322288d1503 remus: fix incorrect error handling for switch_qemu_logdirty in checkpoint code c/s 22275: "tools: cleanup domain save switch_qemu_logdirty callback" introduced a whole bunch of error code fixups. In the process, it also ended up treating the success return code (0) from switch_qemu_logdirty as an error and vice versa. Signed-off-by: Shriram Rajagopalan <rshriram@xxxxxxxxx> --- diff -r e288952081a4 -r 67911039ac94 tools/python/xen/lowlevel/checkpoint/libcheckpoint.c --- a/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c Tue Apr 12 13:27:27 2011 +0100 +++ b/tools/python/xen/lowlevel/checkpoint/libcheckpoint.c Tue Apr 12 13:28:51 2011 +0100 @@ -185,7 +185,7 @@ hvm = s->domtype > dt_pv; if (hvm) { flags |= XCFLAGS_HVM; - if (!switch_qemu_logdirty(s, 1)) + if (switch_qemu_logdirty(s, 1)) return -1; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |