diff options
| author | Stefan Hajnoczi | 2011-05-16 14:56:53 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2011-05-18 14:39:15 +0200 |
| commit | 77a5a0001bd9eaee9da7dc8f0b69702d56b0cc67 (patch) | |
| tree | 653123f56af00a2005064b47ec81af6edeeedde6 /linux-user | |
| parent | qemu_img: is_not_zero() optimization (diff) | |
| download | qemu-77a5a0001bd9eaee9da7dc8f0b69702d56b0cc67.tar.gz qemu-77a5a0001bd9eaee9da7dc8f0b69702d56b0cc67.tar.xz qemu-77a5a0001bd9eaee9da7dc8f0b69702d56b0cc67.zip | |
qed: support for growing images
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 <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
