Re: [libvirt] [PATCH 19/24] qemu: command: Unify retrieval of NUMA cell count in qemuBuildNumaArgStr

2015-02-20 Thread Peter Krempa
On Thu, Feb 19, 2015 at 18:38:38 -0500, John Ferlan wrote: > > > On 02/16/2015 01:52 PM, Peter Krempa wrote: > > 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 | 13 +++-

Re: [libvirt] [PATCH 19/24] qemu: command: Unify retrieval of NUMA cell count in qemuBuildNumaArgStr

2015-02-19 Thread John Ferlan
On 02/16/2015 01:52 PM, Peter Krempa wrote: > 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 | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > ACK - had to pee

[libvirt] [PATCH 19/24] qemu: command: Unify retrieval of NUMA cell count in qemuBuildNumaArgStr

2015-02-16 Thread Peter Krempa
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 | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index 8b660f