From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34582 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pmrxx-0000Pb-SD for qemu-devel@nongnu.org; Tue, 08 Feb 2011 13:07:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pmrxw-0000Cw-NW for qemu-devel@nongnu.org; Tue, 08 Feb 2011 13:07:05 -0500 Received: from mail-gw0-f45.google.com ([74.125.83.45]:42831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmrDJ-0000yU-RK for qemu-devel@nongnu.org; Tue, 08 Feb 2011 12:18:54 -0500 Received: by mail-gw0-f45.google.com with SMTP id a12so2625285gwa.4 for ; Tue, 08 Feb 2011 09:18:53 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 8 Feb 2011 18:18:24 +0100 Message-Id: <1297185509-20996-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1297185509-20996-1-git-send-email-pbonzini@redhat.com> References: <1297185509-20996-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [CFT PATCH 07/12] always signal pause_cond after stopping a VCPU List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Paolo Bonzini --- cpus.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpus.c b/cpus.c index 5b13961..ee2a6cc 100644 --- a/cpus.c +++ b/cpus.c @@ -980,8 +980,10 @@ static void qemu_system_vmstop_request(int reason) void cpu_stop_current(void) { if (cpu_single_env) { + cpu_single_env->stop = 0; cpu_single_env->stopped = 1; cpu_exit(cpu_single_env); + qemu_cond_signal(&qemu_pause_cond); } } -- 1.7.3.5