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

[Xen-devel] domain_pause and vcpu_pause on currently executing domain?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Washington Dunlap III <dunlapg@xxxxxxxxx>
  • Date: Mon, 18 Jul 2005 16:33:20 -0400 (EDT)
  • Delivery-date: Mon, 18 Jul 2005 20:32:13 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I just discovered the domain_pause() and vcpu_pause() functionality, and i was wondering why the functions call BUG if the target domain/vcpu is currently executing. It seems like being able to say, "Pause the currently running domain as soon as this hypervisor event is done" would be a useful one; all that would be required is having domain_sleep_sync() raise the schedule softirq if it's the currently executing one.

Was there a particular reason this was implemented this way? Or was the use I described not envisioned?

 -George

+-------------------+----------------------------------------
| dunlapg@xxxxxxxxx | http://www-personal.umich.edu/~dunlapg +-------------------+----------------------------------------
|  Who could move a mountain, who could love their enemy?
|  Who could rejoice in pain, and turn the other cheek?
|       - Rich Mullins, "Surely God is With Us"
+------------------------------------------------------------
| Outlaw Junk Email! Support HR 1748 (www.cauce.org)

_______________________________________________
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®.