]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: Refactor memballoon command line formatting
authorPeter Krempa <pkrempa@redhat.com>
Wed, 6 Apr 2016 11:41:31 +0000 (13:41 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 15 Apr 2016 12:27:08 +0000 (14:27 +0200)
commit33b9598c419b0bf671c47ff732b44ac0a95fc970
tree64b45f368d6ca6539f1eb3298652a7ae2a61a151
parent388b356e5d27e571d603558c5eb8588a453fa448
qemu: command: Refactor memballoon command line formatting

Now that there is just one format of the memory balloon command line
used the code can be merged into a single function.

Additionally with some tweaks to the control flow the code is easier to
read.
src/qemu/qemu_command.c
src/qemu/qemu_command.h