From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9zIr-0006JB-JM for qemu-devel@nongnu.org; Thu, 06 May 2010 07:31:41 -0400 Received: from [140.186.70.92] (port=50195 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9zIq-0006Ht-IC for qemu-devel@nongnu.org; Thu, 06 May 2010 07:31:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9zIp-0005k4-3K for qemu-devel@nongnu.org; Thu, 06 May 2010 07:31:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:38403) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9zIo-0005jw-NN for qemu-devel@nongnu.org; Thu, 06 May 2010 07:31:39 -0400 Message-ID: <4BE2A897.7050303@redhat.com> Date: Thu, 06 May 2010 14:31:35 +0300 From: Avi Kivity MIME-Version: 1.0 References: <20100504124518.979470863@redhat.com> <20100504124634.399797233@redhat.com> In-Reply-To: <20100504124634.399797233@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [patch uq/master 5/9] kvm: synchronize state from cpu context List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org On 05/04/2010 03:45 PM, Marcelo Tosatti wrote: > From: Jan Kiszka > > It is not safe to retrieve the KVM internal state of a given cpu > while its potentially modifying it. > > Queue the request to run on cpu context, similarly to qemu-kvm. > Even better is to query the state in the cpu thread; but that can come later. -- error compiling committee.c: too many arguments to function