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

Re: [Xen-devel] [PATCH 1/1] Xen ARINC 653 Scheduler (updated to add supp

To: Kathy Hadley <Kathy.Hadley@xxxxxxxxxxxxxxx>, George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 1/1] Xen ARINC 653 Scheduler (updated to add support for CPU pools)
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 18 Jun 2010 18:49:10 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 18 Jun 2010 10:53:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <D3E384327F5C6D48AADCEA84160B7D730147120A@xxxxxxxxxxxxxxx>
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
Thread-index: AcsNbwzA3ljXALi4RuWicdpNTkcsxQAAMAgmAAAadBAAAEvrHQAABmIAAACZp+4AApBeQAAbRt37AEa4JrAAAhqMxA==
Thread-topic: [Xen-devel] [PATCH 1/1] Xen ARINC 653 Scheduler (updated to add support for CPU pools)
User-agent: Microsoft-Entourage/12.24.0.100205
On 18/06/2010 18:35, "Kathy Hadley" <Kathy.Hadley@xxxxxxxxxxxxxxx> wrote:

> xc_sched_arinc653_sched_set(
>     xc_interface *xch,
>     xen_sysctl_sched_arinc653_schedule_t * sched)
> {
>     DECLARE_SYSCTL;
> 
>     sysctl.cmd = XEN_SYSCTL_scheduler_op;
>     sysctl.u.scheduler_op.sched_id = XEN_SCHEDULER_ARINC653;
>     sysctl.u.scheduler_op.cmd = XEN_SYSCTL_SCHEDOP_putinfo;
>     set_xen_guest_handle(sysctl.u.scheduler_op.u.arinc653.schedule, sched);
> 
>     return do_sysctl(xch, &sysctl);
> }
> 
> In this function, which executes in Dom0, how do I determine the cpupool_id
> that I need to set in the sysctl data structure?

It would be passed in to you?

Or if you don't care about cpu pools you can just set it to zero. That's the
default cpupool created at boot time which all CPUs are bound to by default.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>