]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Adjust how supportMaxOptions is used.
authorJohn Ferlan <jferlan@redhat.com>
Mon, 19 Sep 2016 21:46:07 +0000 (17:46 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 5 Oct 2016 22:53:55 +0000 (18:53 -0400)
commit85f05f66f4961ac274e5d20f2c0d9663851acadf
treee446ae6b76d7dc2650d952df53391ea9c30c9643
parenta1417d530570bf916c198b7c8729563dec407c9e
qemu: Adjust how supportMaxOptions is used.

We're about to add more options, let's avoid having multiple if-then-else
which each try to set up the qemuMonitorJSONMakeCommand call with all the
parameters it knows about.

Instead, use the fact that when a NULL is found in the argument list that
processing of the remaining arguments stops and just have call.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_monitor_json.c