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(a)redhat.com>
---
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