]> git.proxmox.com Git - mirror_qemu.git/commit
python/machine.py: upgrade vm.cmd() method
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Fri, 6 Oct 2023 15:41:16 +0000 (18:41 +0300)
committerJohn Snow <jsnow@redhat.com>
Thu, 12 Oct 2023 18:21:43 +0000 (14:21 -0400)
commit4e620ff48f31493d61c98c6770595b5b242b837d
tree3387b3e86fa1819fe1e6cb0ad5f5d8461e71a19b
parent684750ab4f8a3ad69512b71532408be3ac2547d4
python/machine.py: upgrade vm.cmd() method

The method is not popular in iotests, we prefer use vm.qmp() and then
check success by hand. But that's not optimal. To simplify movement to
vm.cmd() let's support same interface improvements like in vm.qmp().

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