diff options
author | Vladimir Sementsov-Ogievskiy | 2020-12-11 19:39:19 +0100 |
---|---|---|
committer | Eric Blake | 2021-02-03 15:00:33 +0100 |
commit | 69b55e03f7e65a36eb954d0b7d4698b258df2708 (patch) | |
tree | 8a5c36845a2804a3ad04147c2de3bc727a840a48 /tests/qemu-iotests | |
parent | iotests: Fix expected whitespace for 185 (diff) | |
download | qemu-69b55e03f7e65a36eb954d0b7d4698b258df2708.tar.gz qemu-69b55e03f7e65a36eb954d0b7d4698b258df2708.tar.xz qemu-69b55e03f7e65a36eb954d0b7d4698b258df2708.zip |
block: refactor bdrv_check_request: add errp
It's better to pass &error_abort than just assert that result is 0: on
crash, we'll immediately see the reason in the backtrace.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201211183934.169161-2-vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[eblake: fix iotest 206 fallout]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/qemu-iotests')
-rw-r--r-- | tests/qemu-iotests/206.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/206.out b/tests/qemu-iotests/206.out index e8a36de00b..5dd589d14e 100644 --- a/tests/qemu-iotests/206.out +++ b/tests/qemu-iotests/206.out @@ -180,7 +180,7 @@ Job failed: Could not resize image: Image size cannot be negative {"execute": "blockdev-create", "arguments": {"job-id": "job0", "options": {"driver": "qcow2", "file": "node0", "size": 9223372036854775296}}} {"return": {}} -Job failed: Could not resize image: Required too big image size, it must be not greater than 9223372035781033984 +Job failed: Could not resize image: offset(9223372036854775296) exceeds maximum(9223372035781033984) {"execute": "job-dismiss", "arguments": {"id": "job0"}} {"return": {}} |