1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

TEST-64-UDEV-STORAGE: Use max_ioqpairs instead of num_queues

Fixes a deprecation warning from qemu.

(cherry picked from commit d97b48176b)
This commit is contained in:
Daan De Meyer 2024-07-14 22:27:09 +02:00
parent 367ad876a6
commit 1a995b9d66

View File

@ -25,7 +25,7 @@ def add_drive(i: int, serial: str) -> None:
"Options": "cache=unsafe",
}
]
config["QemuArgs"] += ["-device", f"nvme,drive={id},serial={serial},num_queues=8"]
config["QemuArgs"] += ["-device", f"nvme,drive={id},serial={serial},max_ioqpairs=8"]
for i in range(5):
add_drive(i, serial=f"deadbeef{i}")