]> git.ipfire.org Git - thirdparty/qemu.git/commit
python: rename QEMUMonitorProtocol.cmd() to cmd_raw()
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Fri, 6 Oct 2023 15:41:14 +0000 (18:41 +0300)
committerJohn Snow <jsnow@redhat.com>
Thu, 12 Oct 2023 18:21:43 +0000 (14:21 -0400)
commit37274707f6f3868fae7e0055d9a703006fc142d0
treedfcd51c1f1a67cc5a5bc70784d2d324e8ff33f55
parent7f521b023bc288ef6bf3ea76add140f1db25169a
python: rename QEMUMonitorProtocol.cmd() to cmd_raw()

Having cmd() and command() methods in one class doesn't look good.
Rename cmd() to cmd_raw(), to show its meaning better.

We also want to rename command() to cmd() in future, so this commit is
a necessary step.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-5-vsementsov@yandex-team.ru
Signed-off-by: John Snow <jsnow@redhat.com>
python/qemu/machine/machine.py
python/qemu/qmp/legacy.py
tests/qemu-iotests/iotests.py