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 1469902 - Libguestfs should pass copyonread flag through to the libvirt XML
Summary: Libguestfs should pass copyonread flag through to the libvirt XML
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.4
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: V2V
Depends On: 1466563
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-12 04:22 UTC by Jaroslav Reznik
Modified: 2020-12-14 09:05 UTC (History)
15 users (show)

Fixed In Version: libguestfs-1.36.3-6.el7_4.1
Doc Type: Bug Fix
Doc Text:
Previously, when the libvirt back end to libguestfs was used, the "copyonread" flag was not passed through, which caused performance problems for libguestfs utilities. Notably, the virt-v2v utility was slowed significantly when converting guests from the VMware hypervisor. With this update, "copyonread" is correctly respected when running libguestfs utilities using the libvirt back end. As a result, the described problem no longer occurs.
Clone Of: 1466563
Environment:
Last Closed: 2017-08-01 11:30:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2332 0 normal SHIPPED_LIVE libguestfs bug fix update 2017-08-01 15:26:51 UTC

Description Jaroslav Reznik 2017-07-12 04:22:45 UTC
This bug has been copied from bug #1466563 and has been proposed to be backported to 7.4 z-stream (EUS).

Comment 7 kuwei@redhat.com 2017-07-19 12:07:19 UTC
Thanks rjones and Pino for your details explain.And with ‘virt-v2v -v -x’  we can see libvirt XML which  has:

  <driver name="qemu" .... copy_on_read="on" />


So,from comment 4/5/6 , move the bug to VERIFIED.

Comment 8 kuwei@redhat.com 2017-07-21 11:18:52 UTC
To verify it again, compare the same test convert a guest from vmware to kvm with a linux and a windows (i.e. same input hypervisor, same guest, and same output) with both libguestfs-1.36.3-6.el7.x86_64 and libguestfs-1.36.3-6.el7_4.2.x86_64, and to make a conclude.

Scenario 1:
with below builds:
qemu-kvm-rhev-2.9.0-14.el7.x86_64
kernel-3.10.0-681.el7.x86_64
libvirt-3.2.0-14.el7.x86_64
virt-v2v-1.36.3-6.el7.x86_64
libvirt-2.0.0-10.el7.x86_64

Time:
1:rhel7.3 2210.3s
2:windows10 1798.0

Scenario 2:
qemu-kvm-rhev-2.9.0-16.el7_4.2.x86_64
libvirt-3.2.0-14.el7_4.2.x86_64
libguestfs-1.36.3-6.el7_4.2.x86_64
virt-v2v-1.36.3-6.el7_4.2.x86_64

time: 
1:rhel7.3  1314.7s 
2:windows10 1080.7s

So, now the version virt-v2v-1.36.3-6.el7_4.2.x86_64 has a better rate than the version virt-v2v-1.36.3-6.el7.x86_64.

Comment 9 errata-xmlrpc 2017-08-01 11:30:03 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://access.redhat.com/errata/RHBA-2017:2332


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