]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: qemu: Don't generate any extra commas in virQEMUBuildCommandLineJSON
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Jul 2016 12:59:19 +0000 (14:59 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 27 Jul 2016 07:40:12 +0000 (09:40 +0200)
commitca620e35ea75dc07f9415c384e240cc2adea4cb4
tree8ce361030d9136142126d7423d172833011a7158
parentb7eef33df20dc19b3c70285ee29dabd2ee7391fa
util: qemu: Don't generate any extra commas in virQEMUBuildCommandLineJSON

The function would generate a leading comma. Let the callers properly
add commas by formatting the commas at the end and trimming the trailing
one.
src/util/virqemu.c
tests/qemucommandutiltest.c