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 909503

Summary: [RFE] Add ability for virt-v2v to convert Windows Server 2012 guests to RHEV
Product: Red Hat Enterprise Linux 6 Reporter: Kevin Masaryk <kmasaryk>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: audgiri, bugzilla, byount, cdevine, cwei, dornelas, mzhan, pbandark, rbalakri, rjones, rmcswain, tzheng, usurse
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:23:14 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:    
Bug Blocks: 835616    

Description Kevin Masaryk 2013-02-09 00:19:12 UTC
Description of problem:
We are trying to migrate a Windows Server 2012 virtual machine running
in VMware 5.1 to RHEV 3.1. We are using a RHEL 6.4 beta machine with the
v2v tools as the migration server.

Version-Release number of selected component (if applicable):
virt-v2v-0.8.9-2.el6.x86_64

How reproducible:
Always

Steps to Reproduce:

# virt-v2v -i libvirt -ic esx://linuxvm34.lausd.net/?no_verify=1 -o rhev -os 10.10.16.86:/exports/v2v_export --network rhevm W2012_migrate
W2012_migrate_W2012_migrate: 100% [=================================================================================]D 0h35m06s
reg_import: cannot create \ControlSet001\Control\CriticalDeviceDatabase\pci#ven_1af4&dev_1001&subsys_00000000 since parent \ControlSet001\Control\CriticalDeviceDatabase\ does not exist at /usr/lib64/perl5/vendor_perl/Win/Hivex/Regedit.pm line 341
        Win::Hivex::Regedit::_merge_node('CODE(0x3b85848)', 'HASH(0x3f74c28)', 'HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDevic...', 'ARRAY(0x3e04548)', 'ARRAY(0x3df73e0)') called at /usr/lib64/perl5/vendor_perl/Win/Hivex/Regedit.pm line 196

        Win::Hivex::Regedit::reg_import('IO::String=GLOB(0x3b4d690)', 'CODE(0x3b85848)') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/Windows.pm line 272
        Sys::VirtConvert::Converter::Windows::_add_viostor_to_registry('HASH(0x2f9de28)', 'Win::Hivex=SCALAR(0x3dc3b18)', 'ControlSet001') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/Windows.pm line 151
        Sys::VirtConvert::Converter::Windows::convert('Sys::VirtConvert::Converter::Windows', 'Sys::VirtConvert::GuestfsHandle=HASH(0x3ae97d0)', '/dev/sda2', 'Sys::VirtConvert::Config=HASH(0x38d4738)', 'HASH(0x2f9de28)', 'HASH(0x36f6f30)', 'HASH(0x38c5cb0)') called at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter.pm line 120
        Sys::VirtConvert::Converter::convert('Sys::VirtConvert::Converter', 'Sys::VirtConvert::GuestfsHandle=HASH(0x3ae97d0)', 'Sys::VirtConvert::Config=HASH(0x38d4738)', '/dev/sda2', 'HASH(0x36f6f30)', 'HASH(0x38c5cb0)') called at /usr/bin/virt-v2v line 613
        eval {...} called at /usr/bin/virt-v2v line 608

Expected results:
Conversion should be possible for Windows Server 2012 guests.

Additional info:

Comment 2 RHEL Program Management 2013-02-13 06:47:11 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 3 tingting zheng 2013-02-16 06:08:51 UTC
I can reproduce this issue,when using virt-v2v to convert windows 2012 and windows 8,the same error shows as description.

Comment 5 RHEL Program Management 2013-10-14 04:15:55 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 9 Derrick Ornelas 2014-08-22 22:07:23 UTC
*** Bug 1023146 has been marked as a duplicate of this bug. ***

Comment 14 Richard W.M. Jones 2014-11-18 11:23:14 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs