]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: numa: Recalculate rather than remember total NUMA cpu count
authorPeter Krempa <pkrempa@redhat.com>
Thu, 12 Feb 2015 08:37:13 +0000 (09:37 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Feb 2015 16:43:04 +0000 (17:43 +0100)
commit6b6166329fe18c23c69cf76c186c31e404515721
treec711aecc51446a4bac255b2601f2af55bf9d28b0
parenta3673b225dc4a3c597a6784e67723511d2c977c2
conf: numa: Recalculate rather than remember total NUMA cpu count

It's easier to recalculate the number in the one place it's used as
having a separate variable to track it. It will also help with moving
the NUMA code to the separate module.
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/conf/domain_conf.c
src/conf/numa_conf.c
src/conf/numa_conf.h
tests/testutilsqemu.c