]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: numa: Don't duplicate NUMA cell cpumask
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 Feb 2015 13:06:20 +0000 (14:06 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Feb 2015 16:43:03 +0000 (17:43 +0100)
commit2562141f19cb564e714abf90c30bcb59db076444
treedafb47f4ddba0906e90bb07467bce92b2a5ae856
parent34a1dd73b88434689e9a8ba18d1b7bcd1f19b618
conf: numa: Don't duplicate NUMA cell cpumask

The mask was stored both as a bitmap and as a string. The string is used
for XML output only. Remove the string, as it can be reconstructed from
the bitmap.

The test change is necessary as the bitmap formatter doesn't "optimize"
using the '^' operator.
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/conf/numa_conf.c
tests/qemuxml2argvdata/qemuxml2argv-numatune-memnode.xml
tests/qemuxml2xmloutdata/qemuxml2xmlout-numatune-memnode.xml