reenable vm_clock when resuming all vcpus
commit47113ab6b8c5659ad94c69aacca572f731ebb0ac
authorWen Congyang <wency@cn.fujitsu.com>
Fri, 4 Nov 2011 02:45:58 +0000 (4 10:45 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 7 Nov 2011 16:57:37 +0000 (7 10:57 -0600)
tree9dff923ad25e5fee993fbfe66a477e5b685fa8c6
parentf67ab77a43cbaca27a39c69223ec6d5dc850f22d
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 <zwu.kernel@gmai.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
cpus.c