[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] domain_pause and vcpu_pause on currently executing domain?
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |