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 1811054 - Cannot pass block device as virtio-win ISO path [rhel-7.7.z]
Summary: Cannot pass block device as virtio-win ISO path [rhel-7.7.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: liuzi
URL:
Whiteboard: V2V
Depends On: 1727164
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-06 14:17 UTC by RAD team bot copy to z-stream
Modified: 2020-04-30 17:17 UTC (History)
11 users (show)

Fixed In Version: libguestfs-1.40.2-5.el7_7.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1727164
Environment:
Last Closed: 2020-04-30 17:17:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1986 0 None None None 2020-04-30 17:17:04 UTC

Description RAD team bot copy to z-stream 2020-03-06 14:17:20 UTC
This bug has been copied from bug #1727164 and has been proposed to be backported to 7.7 z-stream (EUS).

Comment 4 liuzi 2020-03-11 04:23:45 UTC
Verify bug with builds:
virt-v2v-1.40.2-5.el7_7.4.x86_64
libguestfs-1.40.2-5.el7_7.4.x86_64
virtio-win-1.9.8-6.el7.noarch

Steps:
1.Prepare a rhel7 conversion server,and create a block device as virtio-win ISO path.
#losetup /dev/loop0 /usr/share/virtio-win/virtio-win.iso

# ll /dev/loop0
brw-rw----. 1 root disk 7, 0 Mar 11 09:45 /dev/loop0

# blockdev --getsize64  /dev/loop0
325976064

# export VIRTIO_WIN=/dev/loop0

2.Use virt-v2v to convert a windows guest and check whether install virtio-drivers during the conversion.
#  virt-v2v -i libvirt -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-win2012r2-x86_64  --password-file /home/passwd -o rhv  -os 10.66.144.40:/home/nfs_export
[   0.0] Opening the source -i libvirt -ic vpx://root.73.141/data/10.73.75.219/?no_verify=1 esx6.7-win2012r2-x86_64
[   1.7] Creating an overlay to protect the source from being modified
[   2.6] Opening the overlay
[  17.2] Inspecting the overlay
[ 115.4] Checking for sufficient free disk space in the guest
[ 115.4] Estimating space required on target for each disk
[ 115.4] Converting Windows Server 2012 R2 Standard to run on KVM
virt-v2v: warning: /usr/share/virt-tools/pnp_wait.exe is missing.  
Firstboot scripts may conflict with PnP.
virt-v2v: warning: there is no QXL driver for this version of Windows (6.3 
x86_64).  virt-v2v looks for this driver in /dev/loop0

The guest will be configured to use a basic VGA display driver.
virt-v2v: This guest has virtio drivers installed.
[ 139.9] Mapping filesystem data to avoid copying unused and blank areas
[ 140.6] Closing the overlay
[ 140.7] Assigning disks to buses
[ 140.7] Checking if the guest needs BIOS or UEFI to boot
[ 140.7] Initializing the target -o rhv -os 10.66.144.40:/home/nfs_export
[ 141.0] Copying disk 1/1 to /tmp/v2v.eJvqXw/5792ab14-7746-4340-a27d-845dc12b8db9/images/c58f2c67-63ba-410c-acf4-a9349e3478f5/99f57e07-e8b0-42ba-972d-a6e3f161f97e (raw)
    (100.00/100%)
[ 773.1] Creating output metadata
[ 773.2] Finishing off

3.Conversion can be finished successfully and vir-v2v can install virtio drivers to guest.

Result:virt-v2v can find virtio-driver from block device and install to windows guests during conversion.So change bug form ON_QA to VERIFIED.

Comment 6 errata-xmlrpc 2020-04-30 17:17:02 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-2020:1986


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