qemu-cr16/tests
Vladimir Sementsov-Ogievskiy b6aed193e5 python: use vm.cmd() instead of vm.qmp() where appropriate
In many cases we just want an effect of qmp command and want to raise
on failure.  Use vm.cmd() method which does exactly this.

The commit is generated by command

  git grep -l '\.qmp(' | xargs ./scripts/python_qmp_updater.py

And then, fix self.assertRaises to expect ExecuteError exception in
tests/qemu-iotests/124

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-16-vsementsov@yandex-team.ru
Signed-off-by: John Snow <jsnow@redhat.com>
2023-10-12 14:21:44 -04:00
..
avocado python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
bench migration/xbzrle: Use i386 host/cpuinfo.h 2023-05-23 16:51:18 -07:00
data tests/acpi: update expected data files 2023-10-10 11:11:37 +02:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker Python: Enable python3.12 support 2023-10-11 16:02:34 -04:00
fp tests: fp: remove unused submodules 2023-06-07 11:05:09 +02:00
guest-debug tests/tcg: clean-up gdb confirm/pagination settings 2023-08-30 14:57:50 +01:00
image-fuzzer
include
keys
lcitool tests/lcitool: add swtpm to the package list 2023-10-11 08:46:23 +01:00
migration python/qemu: rename command() to cmd() 2023-10-12 14:21:43 -04:00
multiboot
perf/block/qcow2
plugin Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
qapi-schema tests/: spelling fixes 2023-09-08 13:08:52 +03:00
qemu-iotests python: use vm.cmd() instead of vm.qmp() where appropriate 2023-10-12 14:21:44 -04:00
qtest tests/qtest: migration: Add support for negative testing of qmp_migrate 2023-10-11 11:17:02 +02:00
rocker
tcg tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
tsan tests/: spelling fixes 2023-09-08 13:08:52 +03:00
uefi-test-tools tests/: spelling fixes 2023-09-08 13:08:52 +03:00
unit system: Rename softmmu/ directory as system/ 2023-10-08 21:08:08 +02:00
vm tests/vm/basevm.py: use cmd() instead of qmp() 2023-10-12 14:21:44 -04:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
meson.build Makefile: build plugins before running TCG tests 2023-10-02 18:04:39 +02:00
test-qht-par.c
vhost-user-bridge.c