See patch 1.
Peter Krempa (2):
conf: Sanitize cpu topology numbers
qemu: Reuse virDomainDeGetVcpusTopology to calculate total vcpu count
src/conf/domain_conf.c | 39 +++++++++++++++++++++++++++++++++++++++
src/conf/domain_conf.h | 2 ++
src/libvirt_private.syms | 1 +
src/qemu/qemu_domain.c | 18 ++++++++----------
src/qemu/qemu_driver.c | 14 ++++++--------
5 files changed, 56 insertions(+), 18 deletions(-)
--
2.10.0