提交 29203dcf 编写于 作者: A aliguori

kvm: Sync CPU state on reset (Jan Kiszka)

Make sure KVM gets informed about the reset CPU state.
Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7135 c046a42c-6fe2-441c-8c8c-71466251a162
上级 8690e420
......@@ -3623,6 +3623,8 @@ void qemu_system_reset(void)
for(re = first_reset_entry; re != NULL; re = re->next) {
re->func(re->opaque);
}
if (kvm_enabled())
kvm_sync_vcpus();
}
void qemu_system_reset_request(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册