[libvirt] [PATCH v2 07/10] Add new public API virDomainSetMemoryStatsPeriodFlags
Michal Privoznik
mprivozn at redhat.com
Thu Jul 11 14:06:05 UTC 2013
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
More information about the libvir-list
mailing list