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-users

[Xen-users] Question regarding Hypervisor_sched_op function

To: xen-users <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Question regarding Hypervisor_sched_op function
From: Mahendra Kutare <mahendra.kutare@xxxxxxxxx>
Date: Thu, 19 Aug 2010 20:47:13 -0400
Cc:
Delivery-date: Thu, 19 Aug 2010 17:48:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=NsXLHJM6J7CrJFP+sqIxC73SWl4ynaZ6aHvj5ELdwSc=; b=LRsTC0es06UsRbPViPVlUVfqLKSoRcvmewiZpmV0jLRj+XLtKaLJZpL+zqhuUfR/Kf Trww9MQc+02tKUaR1Mqml+rFZmYztgR5/JfPxaMaP/cdP7EUEZBqOpRuOUwwly+wvzL2 oSSbqozP3JHN8YSQUnREj7q9E22URqPb/9xx4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=gY1hjzkUb/d7Mi2gryEdFHTpWiEtcSOgenXuU3feg3ktehIuY93RX/bVg0iKJ2VXeH 0Y95u3/XuZfMCo5bJHRcoCikznvsAG3s5dFn51VS/nK4AKUuUy18U6zsM3QawsCKxC8D 3kIh2sXAFvsysUh6UOO6UuFvtrMGV8vp+b6xs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=q3M8362HtcY0CTZXKK1dxEjLB-B7t30Lvcb-1@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=q3M8362HtcY0CTZXKK1dxEjLB-B7t30Lvcb-1@xxxxxxxxxxxxxx>
Sender: xen-users-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-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Question regarding Hypervisor_sched_op function, Mahendra Kutare <=