mirror of
https://github.com/mii443/qemu.git
synced 2025-12-08 05:28:31 +00:00
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>
This commit is contained in:
1
savevm.c
1
savevm.c
@@ -855,6 +855,7 @@ static int qemu_loadvm_state_v2(QEMUFile *f)
|
|||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
fprintf(stderr, "qemu: warning: error while loading state for instance 0x%x of device '%s'\n",
|
fprintf(stderr, "qemu: warning: error while loading state for instance 0x%x of device '%s'\n",
|
||||||
instance_id, idstr);
|
instance_id, idstr);
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* always seek to exact end of record */
|
/* always seek to exact end of record */
|
||||||
|
|||||||
Reference in New Issue
Block a user