Description of problem:
Fail to convert some win10 guests from esx,but some one can be converted successfully.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Use virt-v2v to convert win10 i386 from esx 5.1,it fails with error:
virt-v2v: error: libguestfs error: hivex_open: hivex failed to open
/Windows/System32/config/SOFTWARE: Operation not supported
Win 10 can be converted successfully.
The actual error is:
hivex: hivex_open: returning ENOTSUP because: SOFTWARE: trailing garbage at end of file (at 0x2084000, after 7639 pages)
hivex_open: SOFTWARE: Operation not supported
Similar to bug 739029.
Anyway, this requires a change to hivex to make it more lax (like
Windows itself) when processing corrupt registries.
Since hivex is not on the ACL for RHEL 7.3, this conveniently means
we can defer this bug to 7.4.
*** Bug 1230414 has been marked as a duplicate of this bug. ***
Defer to RHEL 7.5. Someone is in fact working on this problem
The hivex patches were completed unexpectedly quickly. I have
posted patches for libguestfs to use them.
This will require changes to hivex too.
Verify the bug with builds:
1.Build auto job:converting win10（i386 and x86_64） guests from ESXi5.1/5.5/6.0 to libvirt by virt-v2v
rhel means that run the testing with qemu-kvm
rhev means that run the testing with qemu-kvm-rhev
All win10 guests could be converted successfully and checkpoints are passed, details pls refer to below jobs
So the bug has been fixed, move the bug from ON_QA to VERIFIED
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.