From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 01/22] Prevent abortion on multiple VCPU kicks Date: Mon, 31 Jan 2011 11:44:16 +0200 Message-ID: <4D468470.4060300@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, qemu-devel@nongnu.org To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:17924 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755301Ab1AaJoa (ORCPT ); Mon, 31 Jan 2011 04:44:30 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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