[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 3cb95fc] Make sure not to fall through on error i
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 3cb95fc] Make sure not to fall through on error in loadvm |
Date: |
Fri, 01 May 2009 15:05:19 -0000 |
From: Anthony Liguori <address@hidden>
This is from the KVM tree
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/savevm.c b/savevm.c
index c15db9a..8b7909a 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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 3cb95fc] Make sure not to fall through on error in loadvm,
Anthony Liguori <=