summaryrefslogtreecommitdiffstats
path: root/test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure
diff options
context:
space:
mode:
Diffstat (limited to 'test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure')
-rwxr-xr-xtest/TEST-64-UDEV-STORAGE/long_sysfs_path.configure5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure b/test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure
index 6108bdb..6e8e312 100755
--- a/test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure
+++ b/test/TEST-64-UDEV-STORAGE/long_sysfs_path.configure
@@ -23,10 +23,9 @@ config["QemuArgs"] += ["-device", "pci-bridge,id=pci_bridge0,chassis_nr=64"]
for bridge in range(1, 26):
config["QemuArgs"] += [
"-device",
- f"pci-bridge,id=pci_bridge{bridge},bus=pci_bridge{bridge - 1},"
- f"chassis_nr={64 + bridge}"
+ f"pci-bridge,id=pci_bridge{bridge},bus=pci_bridge{bridge - 1},chassis_nr={64 + bridge},addr=1",
]
-config["QemuArgs"] += ["-device", f"virtio-blk-pci,drive=drive0,scsi=off,bus=pci_bridge25"]
+config["QemuArgs"] += ["-device", f"virtio-blk-pci,drive=drive0,scsi=off,bus=pci_bridge25,addr=1"]
json.dump(config, sys.stdout)