tests/qtest: Fix boot-serial-test when using --without-default-devices
commit1172428fb1486ae2fd2c033efd5c3875f664422d
authorThomas Huth <thuth@redhat.com>
Mon, 19 Feb 2024 11:10:30 +0000 (19 12:10 +0100)
committerThomas Huth <thuth@redhat.com>
Fri, 23 Feb 2024 07:13:52 +0000 (23 08:13 +0100)
treedb0818640c901f8c3d78ffe9a7120b9f5f701cea
parent0b76a1a959ef1ea35f543babfb89baf2a6545c1a
tests/qtest: Fix boot-serial-test when using --without-default-devices

If "configure" has been run with "--without-default-devices", there is
no e1000 device in the binaries, so the boot-serial-test currently fails
in that case since it tries to use the e1000 with the sam460ex machine.

Since we're testing the serial output here, and not the NIC, let's
simply switch to the "pci-bridge" device here instead, which should
always be there for PCI-based machines like the sam460ex.

Message-ID: <20240219111030.384158-1-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/boot-serial-test.c