From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [patch 1/2] KVM: x86: set debug registers after "schedulable" section Date: Wed, 13 Aug 2008 13:46:02 +0300 Message-ID: <48A2BB6A.1030902@qumranet.com> References: <20080801230912.013317832@localhost.localdomain> <20080801231343.687131356@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Marcelo Tosatti Return-path: Received: from il.qumranet.com ([212.179.150.194]:23211 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753299AbYHMKqD (ORCPT ); Wed, 13 Aug 2008 06:46:03 -0400 In-Reply-To: <20080801231343.687131356@localhost.localdomain> Sender: kvm-owner@vger.kernel.org List-ID: Marcelo Tosatti wrote: > The vcpu thread can be preempted after the guest_debug_pre() callback, > resulting in invalid debug registers on the new vcpu. > > Move it inside the non-preemptable section. > Applied, thanks. -- error compiling committee.c: too many arguments to function