Bug 698924 - qcow2: Reads fail with backing file smaller than snapshot
Summary: qcow2: Reads fail with backing file smaller than snapshot
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Kevin Wolf
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 688147
Blocks: Rhel5KvmTier1
TreeView+ depends on / blocked
 
Reported: 2011-04-22 10:02 UTC by juzhang
Modified: 2013-01-09 23:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 688147
Environment:
Last Closed: 2011-06-06 14:39:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Kevin Wolf 2011-05-03 15:23:54 UTC
This is a completely different problem than in RHEL 6. What happens is that qemu-img completely ignores the request to create a 128 MB image and just makes sn1.qcow2 the same size as base.qcow2 (i.e. 64 MB). The read fails because part of it is after the end of the image.

Comment 2 Glauber Costa 2011-05-16 18:27:44 UTC
Kevin,

What is the proposed solution for RHEL5, then ?

Comment 4 Kevin Wolf 2011-06-06 14:39:49 UTC
Not worth fixing/backporting the feature. You can't create backing files that are smaller than the disk in RHEL 5 and it looks as if nobody has ever tried in practice.


Note You need to log in before you can comment on or make changes to this bug.