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

[Xen-devel] ARINC653



Hi Robbie,
 
Nate said that I should contact you if I was having problems with the scheduler, and unfortunately I have.
 
As far as I can see I have created a cpupool with 1 CPU running the arinc653 scheduler. Here the output from xl.
 
root@smartin-xen:~# xl cpupool-list
Name               CPUs   Sched     Active   Domain count
Pool-0               3    credit       y          1
pv400                1  arinc653       y          1
 
However the domU I load into the pv400 cpupool is never scheduled. I found a few mails talking about this, and it looks like I need to run a program on dom0 to configure the scheduler. I wrote the program and as far as I can see it should work, however whatever I do it fails. I tried to put a few printk statements in the corresponding arinc653_sched_set but I don't see any output in the xl dmesg, or domU log either.
 
I attach the code I wrote to configure the scheduler. It accepts one parameter, the UUID of the dom_handle I need to specify. The mail I found wasn't too clear so I test this using the dom0 UUID (00000000-0000-0000-0000-000000000000) and with the domU UUID as well. Both fail the do_sysctl call in xc_sched_arinc653_schedule_set (xc_arinc653.c line 51).
 
Can you give me some idea of what I'm doing wrong here?
 
Regards.
 

Attachment: arinc653.c
Description: Text document

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

 


Rackspace

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