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:03:18 -0500 |
| commit | d02f7094b9b98b45fb129f8c9dcf10c70b5c93b7 (patch) | |
| tree | 3cb95fc6549eed8bc516238a980ee8c73f130677 | |
| parent | aff427a1ca09945082a4ec21aee2960306800fb0 (diff) | |
| download | focaccia-qemu-d02f7094b9b98b45fb129f8c9dcf10c70b5c93b7.tar.gz focaccia-qemu-d02f7094b9b98b45fb129f8c9dcf10c70b5c93b7.zip | |
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
diff --git a/savevm.c b/savevm.c index c15db9ae2d..8b7909a384 100644 --- a/savevm.c +++ b/savevm.c @@ -855,6 +855,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 */ |