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@cs.ubc.ca>
xen-unstable changeset:   23202:67911039ac94
xen-unstable date:        Tue Apr 12 13:28:51 2011 +0100
This commit is contained in:
Shriram Rajagopalan committed 2011-04-25 13:29:18 +01:00
1 parent 51f6a053fd
commit bd88071d94
1 file changed
+1 -1
@@ -185,7 +185,7 @@ int checkpoint_start(checkpoint_state* s, int fd,
hvm = s->domtype > dt_pv;
if (hvm) {
flags |= XCFLAGS_HVM;
if (!switch_qemu_logdirty(s, 1))
if (switch_qemu_logdirty(s, 1))
return -1;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.