Re: [PATCH] virsh: Add QMP command wrapping for 'qemu-monitor-command'

2021-09-15 Thread Daniel P . Berrangé
On Tue, Sep 14, 2021 at 05:16:11PM +0200, Peter Krempa wrote: > Issuing simple QMP commands is pain as they need to be wrapped by the > JSON wrapper: > > { "execute": "COMMAND" } > > and optionally also: > > { "execute": "COMMAND", "arguments":...} > > For simple commands without arguments

Re: [PATCH] virsh: Add QMP command wrapping for 'qemu-monitor-command'

2021-09-15 Thread Jonathon Jongsma
On Tue, 14 Sep 2021 17:16:11 +0200 Peter Krempa wrote: > Issuing simple QMP commands is pain as they need to be wrapped by the > JSON wrapper: > > { "execute": "COMMAND" } > > and optionally also: > > { "execute": "COMMAND", "arguments":...} > > For simple commands without arguments we can

[PATCH] virsh: Add QMP command wrapping for 'qemu-monitor-command'

2021-09-14 Thread Peter Krempa
Issuing simple QMP commands is pain as they need to be wrapped by the JSON wrapper: { "execute": "COMMAND" } and optionally also: { "execute": "COMMAND", "arguments":...} For simple commands without arguments we can add syntax sugar to virsh which allows simple usage of QMP and additionally