[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/2] python: support recording QMP session to a file
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 2/2] python: support recording QMP session to a file |
Date: |
Tue, 18 Jan 2022 14:26:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 |
On 1/18/22 11:01, Daniel P. Berrangé wrote:
> When running QMP commands with very large response payloads, it is often
> not easy to spot the info you want. If we can save the response to a
> file then tools like 'grep' or 'jq' can be used to extract information.
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> python/qemu/qmp/qmp_shell.py | 29 ++++++++++++++++++++++-------
> python/setup.cfg | 3 +++
> 2 files changed, 25 insertions(+), 7 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>