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

Re: [libvirt] [PATCH v3 12/13] Adding memtune command to virsh tool



On Tue, Sep 28, 2010 at 03:27:19PM +0530, Nikunj A. Dadhania wrote:
> From: Nikunj A. Dadhania <nikunj linux vnet ibm com>
> 
> The command helps to control the memory/swap parameters for the system, for
> eg. hard_limit (max memory the vm can use), soft_limit (limit during memory
> contention), swap_hard_limit(max swap the vm can use)
> 
> v3:
> + Added call to virDomainGetMemoryParameters and print them.
> + Added virDomainGetMemoryParameters and virDomainSetMemoryParamters to
>   libvirt_public.syms
> 
> v2:
> + Use #define string constants for "hard_limit", etc
> 
> Signed-off-by: Nikunj A. Dadhania <nikunj linux vnet ibm com>
> ---
>  src/libvirt_public.syms |    6 ++
>  tools/virsh.c           |  130 +++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 136 insertions(+), 0 deletions(-)
> 
> diff --git a/src/libvirt_public.syms b/src/libvirt_public.syms
> index 849c163..fceb516 100644
> --- a/src/libvirt_public.syms
> +++ b/src/libvirt_public.syms
> @@ -405,4 +405,10 @@ LIBVIRT_0.8.2 {
>          virDomainCreateWithFlags;
>  } LIBVIRT_0.8.1;
>  
> +LIBVIRT_0.8.5 {
> +    global:
> +        virDomainSetMemoryParameters;
> +        virDomainGetMemoryParameters;
> +} LIBVIRT_0.8.2;


This chunk should actually be with the change to 'src/libvirt.c'
in the second patch.

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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