]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Create a macro to handle setting bytes/iops iotune values
authorJohn Ferlan <jferlan@redhat.com>
Thu, 6 Oct 2016 17:57:32 +0000 (13:57 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 25 Oct 2016 20:09:24 +0000 (16:09 -0400)
commitd24835f2aef557d073d64295d8d344fe74461041
tree1217937baa39c6cfd7f15797029125dbc9a5935c
parent1b93def21324dde4a89b3074474d671c5b6700f1
qemu: Create a macro to handle setting bytes/iops iotune values

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.
src/qemu/qemu_driver.c