Re: [PATCH 06/17] nodeinfo: move host CPU APIs out into virhostcpu.c file

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

 




On 04/14/2016 11:30 AM, Daniel P. Berrange wrote:
> Move all APIs with a virHostCPU name prefix out into new
> util/virhostcpu.h & util/virhostcpu.c files

looks like nodeinfopriv. turns into virhostcpupriv.h
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  cfg.mk                                             |    6 +-
>  po/POTFILES.in                                     |    1 +
>  src/Makefile.am                                    |    3 +-
>  src/libvirt_linux.syms                             |    2 +-
>  src/lxc/lxc_controller.c                           |    2 +-
>  src/lxc/lxc_driver.c                               |    1 +
>  src/nodeinfo.c                                     | 1171 +-----------------
>  src/nodeinfo.h                                     |   13 -
>  src/openvz/openvz_driver.c                         |    1 +
>  src/qemu/qemu_driver.c                             |    1 +
>  src/qemu/qemu_process.c                            |    2 +-
>  src/uml/uml_driver.c                               |    1 +
>  src/util/vircgroup.c                               |    3 +-
>  src/util/virhostcpu.c                              | 1299 ++++++++++++++++++++
>  src/util/virhostcpu.h                              |   54 +
>  src/{nodeinfopriv.h => util/virhostcpupriv.h}      |   12 +-
>  [...snipped countless more test data renames....]
>  rename tests/{nodeinfodata => virhostcpudata}/linux-x86_64-test7.expected (100%)
>  rename tests/{nodeinfodata => virhostcpudata}/linux-x86_64-test8.cpuinfo (100%)
>  rename tests/{nodeinfodata => virhostcpudata}/linux-x86_64-test8.expected (100%)
>  rename tests/{nodeinfomock.c => virhostcpumock.c} (95%)
>  rename tests/{nodeinfotest.c => virhostcputest.c} (89%)
> 

Due to many recent changes - this one didn't git am -3 for me
(naturally), but it looks like things were moved properly and I have to
assume it compiles and passes check, syntax-check...  Especially since
the .po file was adjusted (the one I usually forget).

ACK

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]