tests/qtest/readconfig-test: Check for the availability of USB controllers
authorThomas Huth <thuth@redhat.com>
Thu, 11 May 2023 11:33:08 +0000 (13:33 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (09:44 +0200)
commit335da81152357114b5d5dbfebb680a886b78fe0a
tree518ccb4a4ee86cc56ddf4b5492bf7e5a3741327e
parente8273b0c456a26aad046f48424861ecd26bd16c7
tests/qtest/readconfig-test: Check for the availability of USB controllers

The USB controllers might not be available in the QEMU binary
(e.g. when using the "--without-default-devices" configure switch),
so we have to check whether the devices can be used before running
the related test.

Message-Id: <20230512124033.502654-12-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/readconfig-test.c