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 1003472 - qemu-img convert -p option display error
Summary: qemu-img convert -p option display error
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Hanna Czenczek
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1006681
TreeView+ depends on / blocked
 
Reported: 2013-09-02 07:05 UTC by Xu Han
Modified: 2020-07-16 08:27 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1006681 (view as bug list)
Environment:
Last Closed: 2014-01-13 18:50:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Xu Han 2013-09-02 07:05:27 UTC
Description of problem:
when qemu-img finish convert, image could be use, but display was (98.25/100%) not (100.00/100%).

Version-Release number of selected component (if applicable):
kernel: 3.10.0-12.el7.x86_64
qemu: qemu-kvm-1.5.3-1.el7.x86_64
      qemu-img-1.5.3-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.convert image
#qemu-img convert -f qcow2 win2012-x64.qcow2 -O raw win2012-x64.raw -p

Actual results:
qemu-img display:
(98.25/100%)

Expected results:
qemu-img display:
(100.00/100%)

Additional info:
in rhel6 host, this command display properly.

Comment 2 Hanna Czenczek 2013-12-13 17:21:20 UTC
Do you have any image for me to test this, by any chance? If I use RHEL7's qemu-img convert on a RHEL7 image I have here, it works properly.

Comment 3 juzhang 2013-12-16 02:20:41 UTC
(In reply to Max Reitz from comment #2)
> Do you have any image for me to test this, by any chance? If I use RHEL7's
> qemu-img convert on a RHEL7 image I have here, it works properly.

Hi Xu,

Can you have a look and add comment?

Best Regards,
Junyi

Comment 4 Xu Han 2013-12-16 02:52:32 UTC
Just re-tested few times with 'qemu-img-1.5.3-21.el7.x86_64', could not reproduce as well.

# qemu-img convert -f qcow2 RHEL-7.0-x86_64-Server.qcow2 -O raw RHEL-7.0-x86_64-Server.raw -p
    (100.00/100%)
# qemu-img convert -f qcow2 RHEL-6.5-x86_64-Server.qcow2 -O raw RHEL-6.5-x86_64-Server.raw -p
    (100.00/100%)
# qemu-img convert -f qcow2 Windows-7-x86-Desktop.qcow2 -O raw Windows-7-x86-Desktop.raw -p
    (100.00/100%)
# qemu-img convert -f qcow2 Windows-2012R2-x86_64-Server.qcow2 -O raw Windows-2012R2-x86_64-Server.raw -p
    (100.00/100%)
# qemu-img convert -f raw Windows-2012R2-x86_64-Server.raw -O qcow2 -o compat=0.10 Windows-2012R2-x86_64-Server.qcow2_v1 -p
    (100.00/100%)
# qemu-img convert -f raw RHEL-7.0-x86_64-Server.raw -O qcow2 RHEL-7.0-x86_64-Server.qcow2_v3 -p
    (100.00/100%)

Comment 5 Ademar Reis 2014-01-13 18:50:00 UTC
based on recent comments, closing as WORKSFORME


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