From: Wen Congyang <wency@cn.fujitsu.com>
To: qemu-devel <qemu-devel@nongnu.org>, Paolo Bonzini <pbonzini@redhat.com>
Subject: [Qemu-devel] [PATCH] reenable vm_clock when resuming all vcpus
Date: Fri, 04 Nov 2011 10:45:58 +0800 [thread overview]
Message-ID: <4EB351E6.3090807@cn.fujitsu.com> (raw)
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.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
---
cpus.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/cpus.c b/cpus.c
index 6aff425..82530c4 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;
--
1.7.1
next reply other threads:[~2011-11-04 2:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-04 2:45 Wen Congyang [this message]
2011-11-04 2:48 ` [Qemu-devel] [PATCH] reenable vm_clock when resuming all vcpus Zhi Yong Wu
2011-11-04 6:26 ` Wen Congyang
2011-11-04 11:31 ` Zhi Yong Wu
2011-11-07 2:24 ` Zhi Yong Wu
2011-11-04 7:43 ` Paolo Bonzini
2011-11-08 17:24 ` Anthony Liguori
2011-11-09 16:22 ` Eduardo Habkost
2011-11-10 8:28 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EB351E6.3090807@cn.fujitsu.com \
--to=wency@cn.fujitsu.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.