test: drop the explicit bus assignment for the pci-bridge

as it doesn't work with the Q35 chipset due to a different topology.
Auto-assignment seems to work with both Q35 and i440FX chipsets.
This commit is contained in:
Frantisek Sumsal 2022-10-01 20:56:01 +02:00
parent 3cd1b8f403
commit 3d0c1256b4

View file

@ -420,7 +420,7 @@ testcase_long_sysfs_path() {
local testdisk="${TESTDIR:?}/longsysfspath.img"
local qemu_opts=(
"-drive if=none,id=drive0,format=raw,cache=unsafe,file=$testdisk"
"-device pci-bridge,id=pci_bridge0,bus=pci.0,chassis_nr=64"
"-device pci-bridge,id=pci_bridge0,chassis_nr=64"
)
dd if=/dev/zero of="$testdisk" bs=1M count=64