mirror of
https://github.com/systemd/systemd
synced 2024-09-30 05:15:19 +00:00
TEST-64-UDEV-STORAGE: Use max_ioqpairs instead of num_queues
Fixes a deprecation warning from qemu.
This commit is contained in:
parent
6e212a6db9
commit
d97b48176b
|
@ -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}")
|
||||
|
|
Loading…
Reference in a new issue