diff options
author | Uri Lublin <uril@qumranet.com> | 2007-03-22 10:36:09 +0000 |
---|---|---|
committer | Uri Lublin <uril@qumranet.com> | 2007-03-22 10:36:09 +0000 |
commit | c5114f04d9eaee2e272c23b2fa83434846418a29 (patch) | |
tree | 500cfd6cae740084fd3c208918991340edd7cddc | |
parent | afe8c89825d9cb8e7fce574e4fd36ecc3d0bb238 (diff) |
qemu migration/loadvm: fail operation if a component fails to load statekvm-18
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4779,6 +4779,7 @@ int qemu_loadvm_state(QEMUFile *f) if (ret < 0) { fprintf(stderr, "qemu: warning: error while loading state for instance 0x%x of device '%s'\n", instance_id, idstr); + goto the_end; } } /* always seek to exact end of record */ @@ -4848,6 +4849,7 @@ int qemu_live_loadvm_state(QEMUFile *f) if (ret < 0) { fprintf(stderr, "qemu: warning: error while loading state for instance 0x%x of device '%s'\n", instance_id, idstr); + goto the_end; } } } |