]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor typed params assignment in qemuDomainGetBlockIoTune
authorPeter Krempa <pkrempa@redhat.com>
Fri, 20 May 2016 08:42:41 +0000 (10:42 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 25 May 2016 14:59:58 +0000 (16:59 +0200)
commit62a73bf631381d3ca1ea6576f5c2da026a427574
treeb1586144d08fe4ec711d045fd74b407358c74daf
parent6448356f27466e18daaaa3edb8e8884fccbf95d6
qemu: Refactor typed params assignment in qemuDomainGetBlockIoTune

Introduce a macro to assign the parameters to avoid the for loop and
shuffle around various checks for a simpler and saner function.
src/qemu/qemu_driver.c