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

[Xen-devel] Question regarding Hypervisor_sched_op function


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Mahendra Kutare <mahendra.kutare@xxxxxxxxx>
  • Date: Thu, 12 Aug 2010 13:11:55 -0400
  • Delivery-date: Thu, 12 Aug 2010 10:13:03 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=UOSu6Kdl9A2Dsn6dV1z/8lKwK/isvn+SteJUMQwLFQoc8YB2+ByABU0D2eOQqSQZAv JNIIzJHEJXcf2yJNpFR/aOi0Q57/B6E/Zb+rg9jWk1LQ65QEoAXmUVaG1aFLTX047Qod BDSh+BbebzbMG9on4Fp06REu9ke+USAVP8B2U=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

I am trying to understand Hypervisor_sched_op function and I have few question regarding this -

1. I understand that a guest VM can use the above function with "yield", in order to relinquish CPU time to other guests with running tasks.

a) So when the guest VM makes this call does it save/persist any scheduling information about its current processes like runqueue, process state - runnable, ready etc ? If it does can someone point to the code I can look at.

c) When yielded guest VM is scheduled back by the hypervisor, does it uses the previous state of the processes which were yielded ?

2. Is there a way in which the Hypervisor_sched_op call can be made from hypervisor itself or Dom0 if required ?

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