[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/1] qemu-img: check block status of backing file
[Qemu-devel] [PATCH v4 0/1] qemu-img: check block status of backing file when converting.
Sat, 23 Apr 2016 15:26:26 +0900
I've just changed last patch to new one that uses loop iteration instead of
At first, a head of chain has checked it's status by bdrv_get_block_status in
If this status is not BDRV_BLOCK_DATA nor BDRV_BLOCK_ZERO, then check backing
files by using new function, get_backing_status.
This function iterates backing files chain and return the status
BDRV_BLOCK_DATA, BDRV_BLOCK_ZERO or error(< 0) caused by bdrv_get_block_status.
When none of backing files has valid status(i.e. backing file which must have
data doesn't exist), then return -1(< 0) and goto fail.
- [Qemu-devel] [PATCH v4 0/1] qemu-img: check block status of backing file when converting.,
Ren Kimura <=