Re: [PATCH 2/2] python: support recording QMP session to a file

2022-01-17 Thread Philippe Mathieu-Daudé via
On 1/17/22 15:11, 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

[PATCH 2/2] python: support recording QMP session to a file

2022-01-17 Thread Daniel P . Berrangé
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. For convenience of processing, we merge the QMP command and response dictionaries to