Re: [PATCH 04/17] nodeinfo: rename all memory APIs to have a virHostMem prefix

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

 




On 04/14/2016 11:22 AM, Daniel P. Berrange wrote:
> In preparation for moving all the memory related APIs out of
> the nodeinfo file, give them a virHostMem name prefix.
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/libvirt_private.syms   | 14 ++++----
>  src/lxc/lxc_driver.c       | 16 ++++-----
>  src/nodeinfo.c             | 82 +++++++++++++++++++++++-----------------------
>  src/nodeinfo.h             | 35 ++++++++++----------
>  src/openvz/openvz_driver.c |  6 ++--
>  src/qemu/qemu_driver.c     | 16 ++++-----
>  src/uml/uml_driver.c       | 16 ++++-----
>  src/util/virnuma.c         |  2 +-
>  src/vbox/vbox_common.c     | 10 +++---
>  src/xen/xen_driver.c       |  4 +--
>  10 files changed, 101 insertions(+), 100 deletions(-)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index a9025f5..2317c25 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -1025,21 +1025,21 @@ virLogManagerNew;
>  
>  
>  # nodeinfo.h
> -nodeAllocPages;
>  nodeCapsInitNUMA;
> -nodeGetCellsFreeMemory;

Using cscope, there's a reference left to this in vz_driver.c

>  nodeGetCPUCount;
>  nodeGetCPUMap;
>  nodeGetCPUStats;
> -nodeGetFreePages;
>  nodeGetInfo;
> -nodeGetMemory;

Using cscope, there's references in bhyve_driver.c and vz_driver.c

> -nodeGetMemoryParameters;

Using cscope, there's a reference to this in bhyve_driver.c

> -nodeGetMemoryStats;

Using cscope, there's a reference to this in bhyve_driver.c

>  nodeGetOnlineCPUBitmap;
>  nodeGetPresentCPUBitmap;
>  nodeGetThreadsPerSubcore;
> -nodeSetMemoryParameters;

Using cscope, there's a reference to this in bhyve_driver.c

> +virHostMemAllocPages;
> +virHostMemGetCellsFree;
> +virHostMemGetFreePages;
> +virHostMemGetInfo;
> +virHostMemGetParameters;
> +virHostMemGetStats;
> +virHostMemSetParameters;
>  
>  

ACK w/ the change of call in bhyve_driver.c and vz_driver.c

John

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