]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/qtest/cdrom-test: Improve the machine detection in the cdrom test
authorThomas Huth <thuth@redhat.com>
Thu, 5 Sep 2024 19:14:28 +0000 (21:14 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Sep 2024 07:53:17 +0000 (09:53 +0200)
commitd822b883d7c5e0bbee4fa5ea1c14546e5ce16019
treeed84bd2206b565618b270ef6da0e246dd0dc1230
parentea9cdbcf3a0b8d5497cddf87990f1b39d8f3bb0a
tests/qtest/cdrom-test: Improve the machine detection in the cdrom test

When configuring QEMU with the --without-default-devices switch, these
tests are currently failing since they assume that the "pc" and "q35"
machines are always available. Add some proper checks to make the test
work without these machines, too.

Message-ID: <20240905191434.694440-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/cdrom-test.c