]> git.ipfire.org Git - thirdparty/libvirt.git/commit
capabilities: Switch CPU data in NUMA topology to a struct
authorPeter Krempa <pkrempa@redhat.com>
Tue, 22 Jan 2013 17:42:08 +0000 (18:42 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 24 Jan 2013 09:53:00 +0000 (10:53 +0100)
commit87b4c10c6cf02251dd8c29b5b895bebc6ec297f9
treec0347583eb2f389e13511d9d5f069c3d00ab16cc
parent987fd7db4fc4ed8ff47339d440cdfb02ef1f0b58
capabilities: Switch CPU data in NUMA topology to a struct

This will allow storing additional topology data in the NUMA topology
definition.

This patch changes the storage type and fixes fallout of the change
across the drivers using it.

This patch also changes semantics of adding new NUMA cell information.
Until now the data were re-allocated and copied to the topology
definition. This patch changes the addition function to steal the
pointer to a pre-allocated structure to simplify the code.
src/conf/capabilities.c
src/conf/capabilities.h
src/libvirt_private.syms
src/nodeinfo.c
src/qemu/qemu_process.c
src/test/test_driver.c
src/xen/xend_internal.c