]> xenbits.xensource.com Git - libvirt.git/commit
numatune: unify numatune struct and enum names
authorMartin Kletzander <mkletzan@redhat.com>
Sun, 8 Jun 2014 17:15:42 +0000 (19:15 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 16 Jul 2014 18:15:45 +0000 (20:15 +0200)
commite764ec7ae36ee99e27fcd86819899ab05c61a038
tree8bdc855946181b8549ece52407ae13a2a2705dc4
parent293d5f21b62b3a2122716097f697cf7448199a87
numatune: unify numatune struct and enum names

Since there was already public virDomainNumatune*, I changed the
private virNumaTune to match the same, so all the uses are unified and
public API is kept:

s/vir\(Domain\)\?Numa[tT]une/virDomainNumatune/g

then shrunk long lines, and mainly functions, that were created after
that:

sed -i 's/virDomainNumatuneMemPlacementMode/virDomainNumatunePlacement/g'

And to cope with the enum name, I haad to change the constants as
well:

s/VIR_NUMA_TUNE_MEM_PLACEMENT_MODE/VIR_DOMAIN_NUMATUNE_PLACEMENT/g

Last thing I did was at least a little shortening of already long
name:

s/virDomainNumatuneDef/virDomainNumatune/g

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
13 files changed:
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/numatune_conf.c
src/conf/numatune_conf.h
src/libvirt_private.syms
src/lxc/lxc_cgroup.c
src/lxc/lxc_controller.c
src/lxc/lxc_native.c
src/qemu/qemu_cgroup.c
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
src/util/virnuma.c
src/util/virnuma.h