diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-01 09:36:03 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-05-01 10:13:32 -0500 |
commit | 2031cfc4ea3be02f752a14e576e93dcd265565a2 (patch) | |
tree | 271e5f7d28d16f85c2d57daf4fc336d8899ce650 | |
parent | 260437cba33a283f92d8eecd739453eecc15d204 (diff) | |
download | qemu-2031cfc4ea3be02f752a14e576e93dcd265565a2.tar.gz |
Make sure not to fall through on error in loadvm
This is from the KVM tree
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | savevm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -851,6 +851,7 @@ static int qemu_loadvm_state_v2(QEMUFile *f) if (ret < 0) { fprintf(stderr, "qemu: warning: error while loading state for instance 0x%x of device '%s'\n", instance_id, idstr); + return ret; } } /* always seek to exact end of record */ |