]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qtest/libqtest.c
tests/qtest: Add a function that gets a list with available machine types
authorThomas Huth <thuth@redhat.com>
Wed, 1 Dec 2021 10:43:46 +0000 (11:43 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 15 Dec 2021 07:08:59 +0000 (08:08 +0100)
commit5516a3b592def4de7fa78153912470f160814e5a
treed0b6b12944c18bca5bf7d6159c53f0f79b83464a
parentbf22f15114b2a1d5eefbcbc18f939d5006d77f72
tests/qtest: Add a function that gets a list with available machine types

For the upcoming patches, we will need a way to gets a list with all
available machine types. Refactor the qtest_cb_for_every_machine()
to split the related code out into a separate new function, and
gather the aliases of the various machine types, too.

Message-Id: <20211201104347.51922-4-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/libqtest.c