qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] reenable vm_clock when resuming all vcpus


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] reenable vm_clock when resuming all vcpus
Date: Tue, 08 Nov 2011 11:24:30 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

On 11/03/2011 09:45 PM, Wen Congyang wrote:
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<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori


---
  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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]