Re: [libvirt] [PATCH v2 01/12] qemu: Create a macro to handle setting bytes/iops iotune values

2016-10-24 Thread Erik Skultety
On Thu, Oct 06, 2016 at 06:38:49PM -0400, John Ferlan wrote: > Create a macros to hide all the comparisons for each of the fields. > > Add a 'continue;' for a compiler hint that we only need to find one > this should be similar enough to the if - elseif - elseif logic. > > Signed-off-by: John Fer

[libvirt] [PATCH v2 01/12] qemu: Create a macro to handle setting bytes/iops iotune values

2016-10-06 Thread John Ferlan
Create a macros to hide all the comparisons for each of the fields. Add a 'continue;' for a compiler hint that we only need to find one this should be similar enough to the if - elseif - elseif logic. Signed-off-by: John Ferlan --- src/qemu/qemu_driver.c | 153 +++---