Re: [PATCH] API: document scheduler parameter names

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

 



2011/11/1 Eric Blake <eblake@xxxxxxxxxx>:
> Document the parameter names that will be used by
> virDomain{Get,Set}SchedulerParameters{,Flags}, rather than
> hard-coding those names in each driver, to match what is
> done with memory, blkio, and blockstats parameters.
>
> * include/libvirt/libvirt.h.in (VIR_DOMAIN_SCHEDULER_CPU_SHARES)
> (VIR_DOMAIN_SCHEDULER_VCPU_PERIOD)
> (VIR_DOMAIN_SCHEDULER_VCPU_QUOTA, VIR_DOMAIN_SCHEDULER_WEIGHT)
> (VIR_DOMAIN_SCHEDULER_CAP): New field name macros.
> * src/qemu/qemu_driver.c (qemuSetSchedulerParametersFlags)
> (qemuGetSchedulerParametersFlags): Use new defines.
> * src/test/test_driver.c (testDomainGetSchedulerParamsFlags)
> (testDomainSetSchedulerParamsFlags): Likewise.
> * src/xen/xen_hypervisor.c (xenHypervisorGetSchedulerParameters)
> (xenHypervisorSetSchedulerParameters): Likewise.
> * src/xen/xend_internal.c (xenDaemonGetSchedulerParameters)
> (xenDaemonSetSchedulerParameters): Likewise.
> * src/lxc/lxc_driver.c (lxcSetSchedulerParametersFlags)
> (lxcGetSchedulerParametersFlags): Likewise.
> ---

You missed the ESX allocation scheduler with reservation, limit and
shares parameters.

-- 
Matthias Bolte
http://photron.blogspot.com

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]