]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemu: json: Add format strings for optional command arguments
authorPeter Krempa <pkrempa@redhat.com>
Tue, 13 May 2014 15:28:45 +0000 (17:28 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Jun 2014 07:47:13 +0000 (09:47 +0200)
commitf744b831c66d9e82453f7a96cab5eddf7570c253
tree0ef21ba6b73dca8d3f639cc3626266f8ce074eaa
parent682267496b946472d85f2bb07c4576dd930e8278
qemu: json: Add format strings for optional command arguments

This patch adds option to specify that a json qemu command argument is
optional without the need to use if's or ternary operators to pass the
list. Additionally all the modifier characters are documented to avoid
user confusion.
src/qemu/qemu_monitor_json.c