Re: [PATCH v2 07/10] Add new public API virDomainSetMemoryStatsPeriodFlags

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

 



On 08.07.2013 21:20, John Ferlan wrote:
> Add new API in order to set the balloon memory driver statistics collection
> period in order to allow dynamic period adjustment for the virsh dommemstats to
> display balloon stats data
> ---
>  include/libvirt/libvirt.h.in |  3 ++
>  src/driver.h                 |  6 ++++
>  src/libvirt.c                | 65 ++++++++++++++++++++++++++++++++++++++++++++
>  src/libvirt_public.syms      |  5 ++++
>  4 files changed, 79 insertions(+)
> 
> diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in
> index b87255a..069cac8 100644
> --- a/include/libvirt/libvirt.h.in
> +++ b/include/libvirt/libvirt.h.in
> @@ -1909,6 +1909,9 @@ int                     virDomainSetMemory      (virDomainPtr domain,
>  int                     virDomainSetMemoryFlags (virDomainPtr domain,
>                                                   unsigned long memory,
>                                                   unsigned int flags);
> +int                     virDomainSetMemoryStatsPeriodFlags (virDomainPtr domain,
> +                                                            int period,
> +                                                            unsigned int flags);

Lose Flags from the function name. This is completely new API, not an
improved version of pre-existing one, where we forgot to add @flags.

Michal

--
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]