Re: [Qemu-devel] [PATCH v2] tests/qmp-test: Add generic, basic test of query commands

2017-08-11 Thread Eric Blake
On 08/11/2017 09:19 AM, Markus Armbruster wrote: > A command is a query if it has no side effect and yields a result. > Such commands are typically named query-FOO, but there are exceptions. > > The basic idea is to find candidates with query-qmp-schema, filter out > the ones that aren't queries w

[Qemu-devel] [PATCH v2] tests/qmp-test: Add generic, basic test of query commands

2017-08-11 Thread Markus Armbruster
A command is a query if it has no side effect and yields a result. Such commands are typically named query-FOO, but there are exceptions. The basic idea is to find candidates with query-qmp-schema, filter out the ones that aren't queries with an explicit blacklist, and test the remaining ones agai