From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=59381 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjqJ6-0003sj-PL for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjqJ5-0006BE-KD for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:24 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjqJ5-0006B5-9I for qemu-devel@nongnu.org; Mon, 31 Jan 2011 04:44:23 -0500 Message-ID: <4D468470.4060300@redhat.com> Date: Mon, 31 Jan 2011 11:44:16 +0200 From: Avi Kivity MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH 01/22] Prevent abortion on multiple VCPU kicks List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Marcelo Tosatti , qemu-devel@nongnu.org, kvm@vger.kernel.org On 01/27/2011 03:09 PM, Jan Kiszka wrote: > If we call qemu_cpu_kick more than once before the target was able to > process the signal, pthread_kill will fail, and qemu will abort. Prevent > this by avoiding the redundant signal. > Doesn't fit with the manual page (or with the idea that signals are asynchronous): NAME pthread_kill - send a signal to a thread ... ERRORS ESRCH No thread with the ID thread could be found. EINVAL An invalid signal was specified. -- error compiling committee.c: too many arguments to function