Re: [Qemu-devel] [PATCH] qed: support for growing images

2011-05-18 Thread Kevin Wolf
Am 16.05.2011 14:56, schrieb Stefan Hajnoczi: > The .bdrv_truncate() operation resizes images and growing is easy to > implement in QED. Simply check that the new size is valid and then > update the image_size header field to reflect the new size. > > Signed-off-by: Stefan Hajnoczi Thanks, appl

[Qemu-devel] [PATCH] qed: support for growing images

2011-05-16 Thread Stefan Hajnoczi
The .bdrv_truncate() operation resizes images and growing is easy to implement in QED. Simply check that the new size is valid and then update the image_size header field to reflect the new size. Signed-off-by: Stefan Hajnoczi --- block/qed.c | 22 +- 1 files changed, 21 i