Re: [PATCH 08/12] [v2] virNodeGetMemoryStats: Define internal driver API

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

 



On Tue, Jun 07, 2011 at 10:04:12AM +0900, Minoru Usui wrote:
> virNodeGetMemoryStats: Define internal driver API
> 
> Signed-off-by: Minoru Usui <usui@xxxxxxxxxxxxxxxxx>
> ---
>  src/driver.h |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/src/driver.h b/src/driver.h
> index a39411b..6239123 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -379,6 +379,14 @@ typedef int
>                       unsigned int flags);
>  
>  typedef int
> +    (*virDrvNodeGetMemoryStats)
> +                    (virConnectPtr conn,
> +                     int cellNum,
> +                     virMemoryStatsPtr params,
> +                     int *nparams,
> +                     unsigned int flags);
> +
> +typedef int
>      (*virDrvNodeGetCellsFreeMemory)
>                      (virConnectPtr conn,
>                       unsigned long long *freeMems,
> @@ -714,6 +722,7 @@ struct _virDriver {
>      virDrvDomainMemoryPeek      domainMemoryPeek;
>      virDrvDomainGetBlockInfo    domainGetBlockInfo;
>      virDrvNodeGetCPUStats       nodeGetCPUStats;
> +    virDrvNodeGetMemoryStats	nodeGetMemoryStats;
>      virDrvNodeGetCellsFreeMemory	nodeGetCellsFreeMemory;
>      virDrvNodeGetFreeMemory		nodeGetFreeMemory;
>      virDrvDomainEventRegister         domainEventRegister;

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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