[Qemu-devel] [PATCH] qcow2: fix 028 iotest

2011-09-23 Thread Frediano Ziglio
This fix bound check bug accessing last cluster if image size is not cluster aligned caused by Unlock during COW patch. Signed-off-by: Frediano Ziglio fredd...@gmail.com --- block/qcow2-cluster.c |8 ++-- block/qcow2.c |2 +- block/qcow2.h |2 ++ 3 files changed,

Re: [Qemu-devel] [PATCH] qcow2: fix 028 iotest

2011-09-23 Thread Kevin Wolf
Am 23.09.2011 13:25, schrieb Frediano Ziglio: This fix bound check bug accessing last cluster if image size is not cluster aligned caused by Unlock during COW patch. Signed-off-by: Frediano Ziglio fredd...@gmail.com I'm considering a solution like this, but I'm not completely happy with it.