Skip to content

tests/qtest: Check for devices before using them

Thomas Huth qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is availabletests/qtest/usb-hcd-uhci-test.c+3 -11 reply
2/4tests/qtest: Check for virtio-blk before using -cdrom with the arm virt machinetests/qtest/bios-tables-test.c tests/qtest/cdrom-test.c+6 -21 reply
3/4tests/qtest/rtl8139-test: Check whether the rtl8139 device is availabletests/qtest/rtl8139-test.c+4 -01 reply
4/4tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before using themtests/qtest/usb-hcd-ehci-test.c+5 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAni SinhaFabiano Rosas
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] tests/qtest: Check for devices before using them

Here are some more patches that are required for running the qtests with builds that have been configured with "--without-default-devices". We need to check whether the required devices are really available in the binaries before we can use them, otherwise the tests will fail.

Thomas Huth (4):
tests/qtest/usb-hcd-uhci-test: Check whether "usb-storage" is
available
tests/qtest: Check for virtio-blk before using -cdrom with the arm
virt machine
tests/qtest/rtl8139-test: Check whether the rtl8139 device is
available
tests/qtest/usb-hcd-ehci-test: Check for EHCI and UHCI HCDs before
using them

 tests/qtest/bios-tables-test.c  | 2 +-
 tests/qtest/cdrom-test.c        | 6 +++++-
 tests/qtest/rtl8139-test.c      | 4 ++++
 tests/qtest/usb-hcd-ehci-test.c | 5 +++++
 tests/qtest/usb-hcd-uhci-test.c | 4 +++-
 5 files changed, 18 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1