Hi,
This patch intends Scheduler related API and its 1/3 of Dan Suggested.
It adds scheduler type API for libvirt.
Other functions like scheduler parameter show and handle
are plan to make.
This patch includes "virsh dominfo" can see the scheduler type
It can be seen if you type virsh dominfo 0 on Xen(sedf or credit)
Other scheduler does not show the scheduler information.
Anyway, previous Rich question.
src/driver.h has a driver interface and
these functions should use typedef.
So following function definition is correct.
+typedef int
+ (*virDrvDomainGetSchedInfo) (virDomainPtr domain,
Signed-off-by: Atsushi SAKAI <sakaia(a)jp.fujitsu.com>
Thanks
Atsushi SAKAI