[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to Stop scheduler


  • To: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Tue, 3 Nov 2009 11:58:54 +0000
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 03 Nov 2009 03:59:24 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=JQYl6wYWZJXSDSl24YdDXwo029HkwbaEP0yCwHlrZ4Qx0m7X/YpTk1BoWExUVqI0Vk g1QbZH7qsU7YIFCdM4nJWLeULFjdB88FTs5jmBZJUiLYKOTlsz3nMU9hzWiXd9esIjfN GS41VmYfsbb5bgZJgm5LcbNEHs1Bvuxy98cX8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

But beware of deadlocks. :-)On Tue, Nov 3, 2009 at 11:48 AM, George
Dunlap <George.Dunlap@xxxxxxxxxxxxx> 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.