block: Let blockdev-create return 0 on success
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | block: Let blockdev-create return 0 on successblock/ | +2 | 0 replies | |
| 2/2 | iotests: Test blockdev-create for vpctests/ tests/ tests/ | +290 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | John Snow |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] block: Let blockdev-create return 0 on success
Jobs are expected to return 0 on success. .bdrv_co_create() on the other hand is a block layer function, and as such returns a non-negative value on success.
blockdev_create_run() should translate between the two (patch 1).
Without patch 1, blockdev-create is likely to fail for VPC images. Hence patch 2.
Max Reitz (2):
block: Let blockdev-create return 0 on success
iotests: Test blockdev-create for vpc
block/create.c | 3 +- tests/qemu-iotests/266 | 182 +++++++++++++++++++++++++++++++++++++ tests/qemu-iotests/266.out | 107 ++++++++++++++++++++++ tests/qemu-iotests/group | 1 + 4 files changed, 292 insertions(+), 1 deletion(-) create mode 100755 tests/qemu-iotests/266 create mode 100644 tests/qemu-iotests/266.out
Signature · 1 line
2.21.0