From: Wen Congyang Date: Fri, 4 Nov 2011 02:45:58 +0000 (+0800) Subject: reenable vm_clock when resuming all vcpus X-Git-Tag: v1.0-rc1~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=47113ab6b8c5659ad94c69aacca572f731ebb0ac;p=thirdparty%2Fqemu.git reenable vm_clock when resuming all vcpus We disable vm_clock when pausing all vcpus, but we forget to reenable it when resuming all vcpus. It will cause that the guest can not be rebooted. Tested-by: Zhi Yong Wu Reviewed-by: Paolo Bonzini Signed-off-by: Wen Congyang Signed-off-by: Anthony Liguori --- diff --git a/cpus.c b/cpus.c index 6aff425235f..82530c4a039 100644 --- a/cpus.c +++ b/cpus.c @@ -891,6 +891,7 @@ void resume_all_vcpus(void) { CPUState *penv = first_cpu; + qemu_clock_enable(vm_clock, true); while (penv) { penv->stop = 0; penv->stopped = 0;