From: George Dunlap Subject: Re: How to Stop scheduler Date: Tue, 3 Nov 2009 11:58:54 +0000 Message-ID: References: <27a8ee1b0911021302n37b76a0bw5259c7b594147abd@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pankaj Parakh Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org But beware of deadlocks. :-)On Tue, Nov 3, 2009 at 11:48 AM, George Dunlap wrote: > Do you mean that you want to stop one specific vcpu / domain from > being scheduled? > > If so, you're looking for the following functions: > vcpu_pause(), vcpu_unpause() > domain_pause(), domain_unpause(). > > They're defined in xen/common/domain.c. But beware of deadlocks. :-) -George