diff options
author | Kevin Wolf <kwolf@redhat.com> | 2011-12-07 12:42:10 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-12-15 12:40:08 +0100 |
commit | 87a1b3e381c282b143023c411df284175f0b656b (patch) | |
tree | 6d745436e5ddb479ac315ccceac8803c4a7e35f9 /block/qcow2-snapshot.c | |
parent | b9c532903fa528891c0eceb34ea40a0c47bfb5db (diff) |
qemu-img rebase: Fix for undersized backing files
Backing files may be smaller than the corresponding COW file. When
reading directly from the backing file, qemu-img rebase must consider
this and assume zero sectors after the end of backing files.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'block/qcow2-snapshot.c')
0 files changed, 0 insertions, 0 deletions