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

2021-10-18 Thread Kashyap Chamarthy
On Fri, Sep 17, 2021 at 03:34:56PM +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 v2] virsh: Add QMP command wrapping for 'qemu-monitor-command'

2021-10-14 Thread Michal Prívozník
On 9/17/21 3:34 PM, 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 add syntax sugar

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

2021-10-13 Thread Peter Krempa
On Fri, Sep 17, 2021 at 15:34:56 +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

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

2021-09-17 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