tests/qtest/bios-tables-test: Check for virtio-iommu device before using it
commita864cc54eed251d2928aaf189fc4131db2841285
authorThomas Huth <thuth@redhat.com>
Tue, 22 Aug 2023 16:49:48 +0000 (22 18:49 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 31 Aug 2023 17:10:01 +0000 (31 19:10 +0200)
tree218bb537c6f525df420b9ba3f143b7b24dbc4eea
parentb2a7d8633ff31ea97e7d4edc23af461a28a66d9d
tests/qtest/bios-tables-test: Check for virtio-iommu device before using it

The virtio-iommu device might be missing in the QEMU binary (e.g. in
downstream RHEL builds), so let's better check for its availability first
before using it.

Message-Id: <20230822164948.65187-1-thuth@redhat.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/bios-tables-test.c