Re: [Qemu-devel] [PATCH v4 16/22] libqtest: Add qmp_cmd() helper

2017-08-09 Thread Eric Blake
On 08/09/2017 10:40 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Now that we've asserted that all of our interpolated QMP commands >> include 'execute', we can reduce some of the caller boilerplate >> by providing a helpr function to wrap commands with no arguments >

Re: [Qemu-devel] [PATCH v4 16/22] libqtest: Add qmp_cmd() helper

2017-08-09 Thread Markus Armbruster
Eric Blake writes: > Now that we've asserted that all of our interpolated QMP commands > include 'execute', we can reduce some of the caller boilerplate > by providing a helpr function to wrap commands with no arguments helper I don't get the dependency on asserting

[Qemu-devel] [PATCH v4 16/22] libqtest: Add qmp_cmd() helper

2017-08-03 Thread Eric Blake
Now that we've asserted that all of our interpolated QMP commands include 'execute', we can reduce some of the caller boilerplate by providing a helpr function to wrap commands with no arguments (later patches will cover commands with arguments). Adjust all callers that can use the new helpers;