[Libvir] [PATCH][RFC] shows scheduler information

Atsushi SAKAI sakaia at jp.fujitsu.com
Tue Apr 10 05:18:56 UTC 2007


Hi,

I add comments to libvirt.h and libvirt.h.in.
This purposes is 
apibuild.py can correctly generate libvirt-api.xml&libvirt-refs.xml.


But if I use "union", apibuild.py does not work and
 libvirt-api.xml is not included in union case.
Is there any good idea?

Thanks
Atsushi SAKAI



Atsushi SAKAI <sakaia at jp.fujitsu.com> wrote:

> Hi,
> 
> This patch intends to see and handle scheduler parameters.
> This is based on ML discussion.
> This patch just support Xen/Credit for Type/Parameters
>                         Xen/SEDF   for Type only.
> And other scheduler is not supported 
> but it will be easy to add it.
> 
> ===How to use (at commandline)===
> virsh schedinfo 0 
>     (to see Type/Parameters)
> 
> virsh schedinfo 0 --weight 512 
>     (to set weight and to show changed Type/Parameters)
> 
> virsh schedinfo 0 --cap 50
>     (to set cap and to show changed Type/Parameters)
> 
> 
> ===Related to API=== 
> I make API based on Dan's mail.
> But I have added a little bit changes.
> 
> 1)virSchedParameter
>   Add Unsigned Int and Unsigned Long Long
> 
> 2)virDomainGetSchedulerType
>   Add variable to return the number of parameters.
>   This purposes allocate virSchedParameter memory on virsh not in libvirt.
> 
> ===Others===
> 0)xen_unified.c
>   tabspace seems 2, it should be fixed.
>   If needed, I will post it as another patch.
> 
> Thanks
> Atsushi SAKAI
> 
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_scheduler3.patch
Type: application/octet-stream
Size: 27764 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070410/155ccd37/attachment-0001.obj>


More information about the libvir-list mailing list