]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest/hd-geo-test: Check for availability of "pc" machine before using it
authorThomas Huth <thuth@redhat.com>
Thu, 5 Sep 2024 19:14:30 +0000 (21:14 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 17 Sep 2024 07:53:17 +0000 (09:53 +0200)
commitd98894d8451f31628906cdbd1a47e8b17dfc2397
tree654f304058daaee2c83e1fc086d4fd15bfd8651a
parent0a8ecb41fd9a9fb67c1cc63a0e1eab3e940c6a35
tests/qtest/hd-geo-test: Check for availability of "pc" machine before using it

In case QEMU has been configured with "--without-default-devices", the
"pc" machine type might be missing in the binary. We should check for
its availability before using it.

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