提交 d02f7094 编写于 作者: A Anthony Liguori

Make sure not to fall through on error in loadvm

This is from the KVM tree
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 aff427a1
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册