WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Question regarding Hypervisor_sched_op function

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Question regarding Hypervisor_sched_op function
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=7wBpgV1u15OF1vP38F1nLhLn5JLdWSTJuHk+F0eBvVA=; b=Z4dBThsgY3NSRQrfeGMCKq1aAEaJDaqAdI2zLAC9N+4fMxcWze4CK15ZujtZ7tRFSY ojsYn1K4VNnTQPfWp5QY07uQkxC3UhkqBubN37hye1YroaokczO1lEi8gRv0QijtROoz hisIIUU2rhXh8X+6nNtrOItPowMuJ3rLJOpsc=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Question regarding Hypervisor_sched_op function, Mahendra Kutare <=