Message ID | d0d82edb7a7710748a3e36cf5aa5cb2d5e318835.1316524908.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/savevm.c b/savevm.c index a793137..af0d0e7 100644 --- a/savevm.c +++ b/savevm.c @@ -1531,14 +1531,15 @@ int qemu_savevm_state_iterate(Monitor *mon, QEMUFile *f) } } - if (ret) - return 1; - if (qemu_file_has_error(f)) { qemu_savevm_state_cancel(mon, f); return -EIO; } + if (ret) { + return 1; + } + return 0; }