diff options
author | Jamin Lin <jamin_lin@aspeedtech.com> | 2025-09-19 17:30:12 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-09-29 18:00:20 +0200 |
commit | d43f6db6548c997263949d8908b62dbab5fbd0ff (patch) | |
tree | 6493c4f06c60338d653dc0dc127abea8b4241237 /scripts/qapi/parser.py | |
parent | 65996e84089459a4b52514a928988816e5c0bae0 (diff) | |
download | qemu-d43f6db6548c997263949d8908b62dbab5fbd0ff.zip qemu-d43f6db6548c997263949d8908b62dbab5fbd0ff.tar.gz qemu-d43f6db6548c997263949d8908b62dbab5fbd0ff.tar.bz2 |
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>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions