On Fri, Aug 04, 2017 at 06:36:24PM -0300, Eduardo Habkost wrote: > This is useful for testing QMP commands in scripts. > > Example usage, combined with 'jq' for filtering the results: > > $ ./scripts/qmp/qmp-shell /tmp/qmp qom-list path=/ | jq -r .return[].name > machine > type > chardevs > backend > $ > > Signed-off-by: Eduardo Habkost <ehabk...@redhat.com> > --- > scripts/qmp/qmp-shell | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature