Skip to contentSkip to conversation

iotests/210: Fix reference output

PATCH Applied Max Reitz 3 participants 3 messages Dec 14, 2020 – Dec 15, 2020

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 iotests/210: Fix reference output

Commit 8b1170012b1 has added a global maximum disk length for the block layer, so the error message when creating an overly large disk has changed.

Fixes 8b1170012b1de6649c66ac1887f4df7e312abf3b

("block: introduce BDRV_MAX_LENGTH")

---
 tests/qemu-iotests/210.out | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/qemu-iotests/210.out +1 -1
index a5e88e2a82..dc1a3c9786 100644
@@ -182,7 +182,7 @@ Job failed: The requested file size is too large
 === Resize image with invalid sizes ===
 
 {"execute": "block_resize", "arguments": {"node-name": "node1", "size": 9223372036854775296}}
-{"error": {"class": "GenericError", "desc": "The requested file size is too large"}}
+{"error": {"class": "GenericError", "desc": "Required too big image size, it must be not greater than 9223372035781033984"}}
 {"execute": "block_resize", "arguments": {"node-name": "node1", "size": 9223372036854775808}}
 {"error": {"class": "GenericError", "desc": "Invalid parameter type for 'size', expected: integer"}}
 {"execute": "block_resize", "arguments": {"node-name": "node1", "size": 18446744073709551104}}
Signature · 1 line
2.29.2
Applied
#2 lore raw
In reply to Max Reitz

Am 14.12.2020 um 18:51 hat Max Reitz geschrieben:

Quoted 7 lines

Commit 8b1170012b1 has added a global maximum disk length for the block layer, so the error message when creating an overly large disk has changed.

Fixes 8b1170012b1de6649c66ac1887f4df7e312abf3b

("block: introduce BDRV_MAX_LENGTH")

Thanks, applied to the block branch.

Kevin