Re: [PATCH v7 14/15] scripts: add python_qmp_updater.py

2023-10-06 Thread Vladimir Sementsov-Ogievskiy
On 06.10.23 20:01, Eric Blake wrote: On Fri, Oct 06, 2023 at 06:41:24PM +0300, Vladimir Sementsov-Ogievskiy wrote: A script, to update the pattern result = self.vm.qmp(...) self.assert_qmp(result, 'return', {}) (and some similar ones) into self.vm.cmd(...) Used in the next

Re: [PATCH v7 14/15] scripts: add python_qmp_updater.py

2023-10-06 Thread Eric Blake
On Fri, Oct 06, 2023 at 06:41:24PM +0300, Vladimir Sementsov-Ogievskiy wrote: > A script, to update the pattern > > result = self.vm.qmp(...) > self.assert_qmp(result, 'return', {}) > > (and some similar ones) into > > self.vm.cmd(...) > > Used in the next commit > "python: use

[PATCH v7 14/15] scripts: add python_qmp_updater.py

2023-10-06 Thread Vladimir Sementsov-Ogievskiy
A script, to update the pattern result = self.vm.qmp(...) self.assert_qmp(result, 'return', {}) (and some similar ones) into self.vm.cmd(...) Used in the next commit "python: use vm.cmd() instead of vm.qmp() where appropriate" Signed-off-by: Vladimir Sementsov-Ogievskiy ---