From 47113ab6b8c5659ad94c69aacca572f731ebb0ac Mon Sep 17 00:00:00 2001 From: Wen Congyang Date: Fri, 4 Nov 2011 10:45:58 +0800 Subject: [PATCH] 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 --- cpus.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpus.c b/cpus.c index 6aff425235..82530c4a03 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;