diff options
author | Don Dugger <donald.d.dugger@intel.com> | 2015-12-01 17:15:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-12-01 17:15:15 +0000 |
commit | 0484decb83ed4b458cea995a386c89741396cc88 (patch) | |
tree | e30d965ebccd836abd79791cd6692a55ebeb7c63 | |
parent | 864d7ddd478dab9a2cc0249773d11ad76b5ce77c (diff) | |
parent | 1750c932f8686f1ab06e19cf81522393d269bbec (diff) |
Merge "Bug fix."
-rw-r--r-- | qemu/migration/savevm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/migration/savevm.c b/qemu/migration/savevm.c index 60712153f..a42874b10 100644 --- a/qemu/migration/savevm.c +++ b/qemu/migration/savevm.c @@ -945,8 +945,8 @@ static int qemu_savevm_state(QEMUFile *f, Error **errp) qemu_savevm_state_complete(f); ret = qemu_file_get_error(f); } + qemu_savevm_state_cancel(); if (ret != 0) { - qemu_savevm_state_cancel(); error_setg_errno(errp, -ret, "Error while writing VM state"); } return ret; |