]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Convert from shorthand to longer throttling names
authorJohn Ferlan <jferlan@redhat.com>
Fri, 23 Sep 2016 12:07:53 +0000 (08:07 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 5 Oct 2016 22:53:55 +0000 (18:53 -0400)
commita1417d530570bf916c198b7c8729563dec407c9e
tree6332f9d98bc5b8d2100e160b08ba2a8228b48620
parentc3584265ba6262497f1c65bc8894cae5572a76f1
qemu: Convert from shorthand to longer throttling names

We're about to add 6 new options and it appears (from testing) one cannot
utilize both the shorthand (alias) and (much) longer names for the arguments.
So modify the command builder to use the longer name and of course alter the
test output .args to have the similarly innocuous long name.

Also utilize a macro to build that name makes it so much more visually
appealing and saves a few characters or potential cut-n-paste issues.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune-max.args
tests/qemuxml2argvdata/qemuxml2argv-blkdeviotune.args