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

Re: [Xen-users] Call schedule set on arinc653 scheduler?




On 5/6/2015 9:18 AM, Ian Campbell wrote:
> On Wed, 2015-05-06 at 15:06 +0200, Mr Idris wrote:
>> I'm using xen 4.4.1 with arinc653 scheduler. dom0 runs well, but i
>> can't run domU. On wiki page, it is said that to usage arinc653
>> scheduler (http://wiki.xen.org/wiki/ARINC653_Scheduler) point no.5,
>> "call the arinc653_schedule_set API with an ARINC653 scheduler
>> structure"
>>
>> How do i call this?
> 
> It is a function in libxenctrl.so
> 
>>  What command should i do?
> 
> I'm afraid it looks like there is no tool which actually calls it. I
> think you might have to write a little main.c.
> 
> In fact, I see now that there are example programs on the wiki page you
> linked to.
> 
That is correct. You should be able to follow the idea behind the examples, but
you need to configure any values for your specific domains and schedule.

> Although by inspection there seems to be a bug in the examples, I'd
> expect the "struct xen_sysctl_arinc653_schedule *)as" should be
> "&sched".
> 
Yes, this does appear to be a mistake in the example code. I requested edit
rights on the wiki, and I will fix it once I am granted those. Great catch Ian.

Thanks,
Robbie VanVossen

> Ian.
> 
>> My problem similar with the old post here
>> (http://markmail.org/message/hqyj3bw64r3phjrh) since i just join this
>> mailing list, i don't know / get how to reply to old post.
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxx
>> http://lists.xen.org/xen-users
> 
> 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.