Re: [Qemu-devel] [PATCH] block: Handle error of bdrv_getlength in bdrv_create_dirty_bitmap

2014-04-14 Thread Kevin Wolf
Am 03.04.2014 um 16:44 hat Max Reitz geschrieben: On 02.04.2014 08:04, Fam Zheng wrote: bdrv_getlength could fail, check the return value before using it. Signed-off-by: Fam Zheng f...@redhat.com --- block-migration.c | 28 block.c | 10

Re: [Qemu-devel] [PATCH] block: Handle error of bdrv_getlength in bdrv_create_dirty_bitmap

2014-04-03 Thread Max Reitz
On 02.04.2014 08:04, Fam Zheng wrote: bdrv_getlength could fail, check the return value before using it. Signed-off-by: Fam Zheng f...@redhat.com --- block-migration.c | 28 block.c | 10 -- block/mirror.c| 5 -

[Qemu-devel] [PATCH] block: Handle error of bdrv_getlength in bdrv_create_dirty_bitmap

2014-04-02 Thread Fam Zheng
bdrv_getlength could fail, check the return value before using it. Signed-off-by: Fam Zheng f...@redhat.com --- block-migration.c | 28 block.c | 10 -- block/mirror.c| 5 - include/block/block.h | 3 ++- 4 files changed, 38