]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Unify retrieval of NUMA cell count in qemuBuildNumaArgStr
authorPeter Krempa <pkrempa@redhat.com>
Mon, 16 Feb 2015 16:55:50 +0000 (17:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Feb 2015 16:50:07 +0000 (17:50 +0100)
commitba2183a331c354ef07dc7e991f31f77f949bde80
treef2a6917258dad36b36773a07c1f3b9e5b550d67e
parentb83543c563157f42955dce692d135f19d2ca5972
qemu: command: Unify retrieval of NUMA cell count in qemuBuildNumaArgStr

The function uses the cell count in 6 places. Add a temp variable to
hold the count as it will greatly simplify the refactor.
src/qemu/qemu_command.c