tests/qtest: Improve endianness-test to work with missing machines and devices
commit9cbd66028b82c57f3f24399c6851f21495ccc775
authorThomas Huth <thuth@redhat.com>
Mon, 20 Dec 2021 08:10:52 +0000 (20 09:10 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 22 Dec 2021 07:13:05 +0000 (22 08:13 +0100)
treea4e7e9fe7ff7706e77d210f838246fd6ebc1a6cd
parentad9e129b0162a1342a407c8d8e2073e4562206f2
tests/qtest: Improve endianness-test to work with missing machines and devices

The users might have built QEMU with less machines or without the
i82378 superio device. Add some checks to the endianess-test so that
it is able to deal with such stripped down QEMU versions, too.

Message-Id: <20211220081054.151515-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/endianness-test.c