Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1006681

Summary: qemu-img convert -p option display error
Product: Red Hat Enterprise Linux 6 Reporter: Sibiao Luo <sluo>
Component: qemu-kvmAssignee: Kevin Wolf <kwolf>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.5CC: chayang, hhuang, juzhang, michen, mkenneth, qiguo, qzhang, rbalakri, rpacheco, virt-maint, xfu, xuhan, xwei
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.456.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1003472 Environment:
Last Closed: 2015-07-22 06:03:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1003472    
Bug Blocks:    

Comment 1 Sibiao Luo 2013-09-11 05:49:15 UTC
Also met this issue in rhe6.5 host.

host info:
# uname -r && rpm -q qemu-kvm-rhev 
2.6.32-414.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.400.el6.x86_64

# qemu-img convert -p -f vhdx sluo-win2012-64bit.vhdx -O qcow2  sluo-win2012-64bit.qcow2
    (98.25/100%)
# qemu-img check sluo-win2012-64bit.qcow2
No errors were found on the image.
Image end offset: 8431927296

Comment 2 Sibiao Luo 2013-09-12 07:56:03 UTC
Aslo tried the rhel6.4GA that also this issue, so it's not a regression issue.

host info:
# rpm -q qemu-kvm
qemu-kvm-0.12.1.2-2.355.el6_4.7.x86_64

Steps and Results:
# qemu-img info win7-64.qcow2
image: win7-64.qcow2
file format: qcow2
virtual size: 30G (32212254720 bytes)
disk size: 8.1G
cluster_size: 65536
# qemu-img convert -p -f qcow2 win7-64.qcow2 -O raw win7-64.raw
    (98.25/100%)

Best Regards,
sluo

Comment 5 Jeff Nelson 2015-03-04 16:17:53 UTC
Fix included in qemu-kvm-0.12.1.2-2.456.el6

Comment 7 Qian Guo 2015-03-11 08:57:40 UTC
Reproduce this bug with qemu-kvm-0.12.1.2-2.454.el6.x86_64

# qemu-img convert -f qcow2 rhel6.7cp1.qcow2 -O raw rhel6.7_repro.raw -p
    (98.25/100%)


Verify this bug with qemu-kvm-0.12.1.2-2.457.el6.x86_64

# qemu-img convert -f qcow2 rhel6.7cp1.qcow2 -O raw rhel6.7.raw -p
    (100.00/100%)


So this bug is fixed.

Comment 10 errata-xmlrpc 2015-07-22 06:03:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-1275.html