mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06: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:
parent
aff427a1ca
commit
d02f7094b9
1 changed files with 1 additions and 0 deletions
1
savevm.c
1
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue