diff options
author | Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com> | 2012-11-13 13:54:38 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2012-11-15 09:01:53 -0700 |
commit | ca7f58d203971b219bb965f20500cf463fdbed58 (patch) | |
tree | 5e5b32770fb96439b0b836c063cdb30e14c3fdd4 /libvirt-override.py | |
parent | 15cfee2f5075cd6e3a8b57c0176cb8580caace48 (diff) | |
download | libvirt-python-v6-CVE-2012-3411.tar.gz libvirt-python-v6-CVE-2012-3411.tar.xz libvirt-python-v6-CVE-2012-3411.zip |
python: Use virNodeGetCPUMap where possibleCVE-2012-3411
Modified the places where virNodeGetInfo was used for the purpose
of obtaining the maximum node CPU number. Transparently falling
back to virNodeGetInfo in case of failure.
Wrote a utility function getPyNodeCPUCount for that purpose.
Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Diffstat (limited to 'libvirt-override.py')
0 files changed, 0 insertions, 0 deletions