qemu-cr16/tests/functional
Jamin Lin d43f6db654 tests/functional/arm/test_aspeed_ast2600: Add PCIe and network test
Extend the AST2600 functional tests with PCIe and network checks.

This patch introduces a new helper "do_ast2600_pcie_test()" that runs "lspci"
on the emulated system and verifies the presence of the expected PCIe devices:

- 80:00.0 Host bridge: ASPEED Technology, Inc. Device 2600
- 80:08.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge
- 81:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection

To exercise the PCIe network device, the test adds:

  -device e1000e,netdev=net1,bus=pcie.0
  -netdev user,id=net1

and assigns an IP address to the interface, verifying it with `ip addr`.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250919093017.338309-14-jamin_lin@aspeedtech.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-09-29 18:00:20 +02:00
..
aarch64 hw/arm/aspeed Move ast2700-evb alias to ast2700a1-evb 2025-09-29 18:00:20 +02:00
acpi-bits tests/functional: Convert the acpi-bits test into a standalone test 2024-09-04 11:14:33 +02:00
alpha tests/functional: Move alpha tests into architecture specific folder 2025-08-27 09:46:55 +02:00
arm tests/functional/arm/test_aspeed_ast2600: Add PCIe and network test 2025-09-29 18:00:20 +02:00
avr tests/functional: Move avr tests into architecture specific folder 2025-08-27 09:46:55 +02:00
generic tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
hppa tests/functional/hppa: Add a CD-ROM boot test for qemu-system-hppa 2025-09-24 08:26:11 +02:00
i386 tests/functional: Move i386 tests into architecture specific folder 2025-08-27 09:46:55 +02:00
loongarch64 tests/functional: Move loongarch64 tests into architecture specific folder 2025-08-27 09:46:55 +02:00
m68k tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
microblaze tests/functional: Move microblaze tests into architecture specific folder 2025-08-27 09:46:55 +02:00
microblazeel tests/functional: Move microblaze tests into architecture specific folder 2025-08-27 09:46:55 +02:00
mips tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
mips64 tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
mips64el tests/functional: use self.log for all logging 2025-09-24 08:26:11 +02:00
mipsel tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
or1k tests/functional: Move or1k tests into target-specific folders 2025-08-27 09:46:55 +02:00
ppc tests/functional: Move ppc/ppc64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
ppc64 tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
qemu_test tests/functional: treat unknown exceptions as transient faults 2025-09-24 08:26:11 +02:00
riscv32 tests/functional: Move riscv32/riscv64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
riscv64 tests/functional: Move riscv32/riscv64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
rx tests/functional: Move rx test into target-specific folders 2025-08-27 09:46:55 +02:00
s390x tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
sh4 tests/functional: Move sh4/sh4eb tests into target-specific folders 2025-08-27 09:46:55 +02:00
sh4eb tests/functional: Move sh4/sh4eb tests into target-specific folders 2025-08-27 09:46:55 +02:00
sparc tests/functional: Move sparc/sparc64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
sparc64 tests/functional: Move sparc/sparc64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
x86_64 tests/functional: add a vfio-user smoke test 2025-09-25 17:55:19 +02:00
xtensa tests/functional: Move xtensa tests into target-specific folder 2025-08-27 09:46:55 +02:00
aspeed.py tests/functional/arm: Add helper to generate OTP images 2025-09-29 18:00:20 +02:00
meson.build tests/functional: Move the generic tests to a subfolder 2025-08-27 09:46:55 +02:00
migration.py tests/functional: Rework the migration test to have target-specific files 2025-08-27 09:46:55 +02:00
multiprocess.py tests/functional: Rework the multiprocess test to have target-specific files 2025-08-27 09:46:55 +02:00
replay_kernel.py tests/functional: use self.log for all logging 2025-09-24 08:26:11 +02:00
reverse_debugging.py tests/functional: Convert reverse_debugging tests to the functional framework 2025-04-23 07:51:25 +02:00