[Libvir] [PATCH] add scheduler type.

Atsushi SAKAI sakaia at jp.fujitsu.com
Tue Apr 3 12:25:46 UTC 2007


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 at jp.fujitsu.com>

Thanks
Atsushi SAKAI

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_schedulertype.patch
Type: application/octet-stream
Size: 9316 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070403/aaa78745/attachment-0001.obj>


More information about the libvir-list mailing list