[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 uq/master 13/22] always signal pause_cond after s
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH v3 uq/master 13/22] always signal pause_cond after stopping a VCPU |
Date: |
Mon, 28 Feb 2011 10:10:15 +0100 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
cpus.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/cpus.c b/cpus.c
index 785a104..6cfb45b 100644
--- a/cpus.c
+++ b/cpus.c
@@ -1012,8 +1012,10 @@ void qemu_notify_event(void)
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.4
- [Qemu-devel] [PATCH v3 uq/master 00/22] Win32 iothread support, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 07/22] add assertions on the owner of a QemuMutex, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 02/22] implement win32 dynticks timer, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 08/22] remove CONFIG_THREAD, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 13/22] always signal pause_cond after stopping a VCPU,
Paolo Bonzini <=
- [Qemu-devel] Re: [PATCH v3 uq/master 00/22] Win32 iothread support, Avi Kivity, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 05/22] add win32 qemu-thread implementation, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 04/22] Refactor thread retrieval and check, Paolo Bonzini, 2011/02/28
- [Qemu-devel] [PATCH v3 uq/master 18/22] iothread stops the vcpu thread via IPI, Paolo Bonzini, 2011/02/28