python/qemu: rename command() to cmd()
commit684750ab4f8a3ad69512b71532408be3ac2547d4
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Fri, 6 Oct 2023 15:41:15 +0000 (6 18:41 +0300)
committerJohn Snow <jsnow@redhat.com>
Thu, 12 Oct 2023 18:21:43 +0000 (12 14:21 -0400)
tree30f6b76726f7307b908c22db995653936e542b7a
parent37274707f6f3868fae7e0055d9a703006fc142d0
python/qemu: rename command() to cmd()

Use a shorter name. We are going to move in iotests from qmp() to
command() where possible. But command() is longer than qmp() and don't
look better. Let's rename.

You can simply grep for '\.command(' and for 'def command(' to check
that everything is updated (command() in tests/docker/docker.py is
unrelated).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: CĂ©dric Le Goater <clg@kaod.org>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-id: 20231006154125.1068348-6-vsementsov@yandex-team.ru
[vsementsov: also update three occurrences in
   tests/avocado/machine_aspeed.py and keep r-b]
Signed-off-by: John Snow <jsnow@redhat.com>
29 files changed:
docs/devel/testing.rst
python/qemu/machine/machine.py
python/qemu/qmp/legacy.py
python/qemu/qmp/qmp_shell.py
python/qemu/utils/qemu_ga_client.py
python/qemu/utils/qom.py
python/qemu/utils/qom_common.py
python/qemu/utils/qom_fuse.py
scripts/cpu-x86-uarch-abi.py
scripts/device-crash-test
scripts/render_block_graph.py
tests/avocado/avocado_qemu/__init__.py
tests/avocado/cpu_queries.py
tests/avocado/hotplug_cpu.py
tests/avocado/info_usernet.py
tests/avocado/machine_arm_integratorcp.py
tests/avocado/machine_aspeed.py
tests/avocado/machine_m68k_nextcube.py
tests/avocado/machine_mips_malta.py
tests/avocado/machine_s390_ccw_virtio.py
tests/avocado/migration.py
tests/avocado/pc_cpu_hotplug_props.py
tests/avocado/version.py
tests/avocado/virtio_check_params.py
tests/avocado/virtio_version.py
tests/avocado/x86_cpu_model_versions.py
tests/migration/guestperf/engine.py
tests/qemu-iotests/256
tests/qemu-iotests/257