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

Fixes a deprecation warning from qemu.
This commit is contained in:
Daan De Meyer 2024-07-14 22:27:09 +02:00
parent 6e212a6db9
commit d97b48176b

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}")